COLOR #420D6B

HEX: #420D6B
RGB: (66,13,107)

Color info

#420D6B contains mainly red and blue colors. Web safe color of #420D6B is #330066 (or #306).

RGB color model

#420D6B color RGB value is (66,13,107).

  • red value is 66;
  • green value is 13;
  • blue value is 107.
RGB:
(66,13,107)
(26%,5%,42%)

RGB channels and saturation

R 66 of 255 = 26%
G 13 of 255 = 5%
B 107 of 255 = 42%

66
13
107

R + G + B ~ 24%. #420D6B is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 13 + 107 = 186 (100%)
R 66 of 186 ~ 35.48%
G 13 of 186 ~ 6.99%
B 107 of 186 ~ 57.53%

%35.48
%57.53

CMYK color model

#420D6B color CMYK value is (38,88,0,58).

  • cyan value is 38.32%
  • magenta value is 87.85%
  • yellow value is 0.00%
  • key color value is 58.04%
CMYK:
(38,88,0,58)
C38M88Y0K58 
(38%,88%,0%,58%)
(0.38/0.88/0.00/0.58)	

CMYK percentages

%38.32
%87.85
%0
%58.04

Codes

Color #420D6B in popluar color models

420D6B
RGB6613107
HSL274°78.33%23.53%
HSB/HSV274°87.85%41.96%
CMYK38.32%87.85%0.00%
58.04%

Color #420D6B in popluar number systems.

HEX420D6B
Decimal6613107
Binary100001011011101011
Octal10215153

Shades and tints

Shades of #420D6B

#420D6B
(66,13,107)
#3C0C62
(60,12,98)
#360B59
(54,11,89)
#300A50
(48,10,80)
#2A0947
(42,9,71)
#24083E
(36,8,62)
#1E0735
(30,7,53)
#18062C
(24,6,44)
#120523
(18,5,35)
#0C041A
(12,4,26)
#060311
(6,3,17)
#000000
(0,0,0)

Tints of #420D6B

#420D6B
(66,13,107)
#532378
(83,35,120)
#643985
(100,57,133)
#754F92
(117,79,146)
#86659F
(134,101,159)
#977BAC
(151,123,172)
#A891B9
(168,145,185)
#B9A7C6
(185,167,198)
#CABDD3
(202,189,211)
#DBD3E0
(219,211,224)
#ECE9ED
(236,233,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #420D6B color. Also use rgb(66,13,107) instead hex code.

Text Font Color

.myTextColor { color: #420D6B; }

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

This text font color is #420D6B.


Background Color

.myBgColor { background-color: #420D6B; }

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

This div background color is #420D6B.


Border color

.myBorderColor { border: 1px solid #420D6B; }

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

This div border color is #420D6B.


Opacity

.myOpacity80 { color: #420D6B; opacity: 0.8; }

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

Text with #420D6B 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 #420D6B;}

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

This text has shadow with #420D6B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #420D6B on black background.


Color preview on white background

This text has color #420D6B on white background.



Black color preview on #420D6B background

This text has black color on #420D6B background.


White color preview on #420D6B background

This text has white color on #420D6B background.