COLOR #420946

HEX: #420946
RGB: (66,9,70)

Color info

#420946 contains mainly red and blue colors. Web safe color of #420946 is #330033 (or #303).

RGB color model

#420946 color RGB value is (66,9,70).

  • red value is 66;
  • green value is 9;
  • blue value is 70.
RGB:
(66,9,70)
(26%,4%,27%)

RGB channels and saturation

R 66 of 255 = 26%
G 9 of 255 = 4%
B 70 of 255 = 27%

66
9
70

R + G + B ~ 19%. #420946 is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 9 + 70 = 145 (100%)
R 66 of 145 ~ 45.52%
G 9 of 145 ~ 6.21%
B 70 of 145 ~ 48.28%

%45.52
%48.28

CMYK color model

#420946 color CMYK value is (6,87,0,73).

  • cyan value is 5.71%
  • magenta value is 87.14%
  • yellow value is 0.00%
  • key color value is 72.55%
CMYK:
(6,87,0,73)
C6M87Y0K73 
(6%,87%,0%,73%)
(0.06/0.87/0.00/0.73)	

CMYK percentages

%5.71
%87.14
%0
%72.55

Codes

Color #420946 in popluar color models

420946
RGB66970
HSL296°77.22%15.49%
HSB/HSV296°87.14%27.45%
CMYK5.71%87.14%0.00%
72.55%

Color #420946 in popluar number systems.

HEX420946
Decimal66970
Binary100001010011000110
Octal10211106

Shades and tints

Shades of #420946

#420946
(66,9,70)
#3C0940
(60,9,64)
#36093A
(54,9,58)
#300934
(48,9,52)
#2A092E
(42,9,46)
#240928
(36,9,40)
#1E0922
(30,9,34)
#18091C
(24,9,28)
#120916
(18,9,22)
#0C0910
(12,9,16)
#06090A
(6,9,10)
#000000
(0,0,0)

Tints of #420946

#420946
(66,9,70)
#531F56
(83,31,86)
#643566
(100,53,102)
#754B76
(117,75,118)
#866186
(134,97,134)
#977796
(151,119,150)
#A88DA6
(168,141,166)
#B9A3B6
(185,163,182)
#CAB9C6
(202,185,198)
#DBCFD6
(219,207,214)
#ECE5E6
(236,229,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #420946 color. Also use rgb(66,9,70) instead hex code.

Text Font Color

.myTextColor { color: #420946; }

<p style="color:#420946">This sample text font color is #420946.</p>

This text font color is #420946.


Background Color

.myBgColor { background-color: #420946; }

<div style="background-color:#420946">Inner text</div>

This div background color is #420946.


Border color

.myBorderColor { border: 1px solid #420946; }

<div style="border:3px solid #420946">Div</div>

This div border color is #420946.


Opacity

.myOpacity80 { color: #420946; opacity: 0.8; }

<p style="color:#420946;opacity:0.8;">80%</p>

Text with #420946 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #420946;}

<p style="text-shadow: 3px 3px 1px #420946">Text here.</p>

This text has shadow with #420946 color.

.textShadow {text-shadow: 3px 3px 1px #420946, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #420946, 5px 5px 20px red">Text here.</p>

This text has shadow with #420946 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#420946, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#420946, Direction=45, Strength=4)">Text</p>

This text has shadow with #420946 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #420946;
  -webkit-box-shadow:	1px 1px 3px 2px #420946;
  box-shadow:		1px 1px 3px 2px #420946;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #420946;
-webkit-box-shadow: 1px 1px 3px 2px #420946;
box-shadow:1px 1px 3px 2px #420946;">
Div content here</div>
This div box has shadow with color #420946.

Preview

Color preview on black background

This text has color #420946 on black background.


Color preview on white background

This text has color #420946 on white background.



Black color preview on #420946 background

This text has black color on #420946 background.


White color preview on #420946 background

This text has white color on #420946 background.