COLOR #420212

HEX: #420212
RGB: (66,2,18)

Color info

#420212 contains mainly red and blue colors. Web safe color of #420212 is #330000 (or #300).

RGB color model

#420212 color RGB value is (66,2,18).

  • red value is 66;
  • green value is 2;
  • blue value is 18.
RGB:
(66,2,18)
(26%,1%,7%)

RGB channels and saturation

R 66 of 255 = 26%
G 2 of 255 = 1%
B 18 of 255 = 7%

66
2
18

R + G + B ~ 11%. #420212 is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 2 + 18 = 86 (100%)
R 66 of 86 ~ 76.74%
G 2 of 86 ~ 2.33%
B 18 of 86 ~ 20.93%

%76.74
%20.93

CMYK color model

#420212 color CMYK value is (0,97,73,74).

  • cyan value is 0.00%
  • magenta value is 96.97%
  • yellow value is 72.73%
  • key color value is 74.12%
CMYK:
(0,97,73,74)
C0M97Y73K74 
(0%,97%,73%,74%)
(0.00/0.97/0.73/0.74)	

CMYK percentages

%0
%96.97
%72.73
%74.12

Codes

Color #420212 in popluar color models

420212
RGB66218
HSL345°94.12%13.33%
HSB/HSV345°96.97%25.88%
CMYK0.00%96.97%72.73%
74.12%

Color #420212 in popluar number systems.

HEX420212
Decimal66218
Binary10000101010010
Octal102222

Shades and tints

Shades of #420212

#420212
(66,2,18)
#3C0211
(60,2,17)
#360210
(54,2,16)
#30020F
(48,2,15)
#2A020E
(42,2,14)
#24020D
(36,2,13)
#1E020C
(30,2,12)
#18020B
(24,2,11)
#12020A
(18,2,10)
#0C0209
(12,2,9)
#060208
(6,2,8)
#000000
(0,0,0)

Tints of #420212

#420212
(66,2,18)
#531927
(83,25,39)
#64303C
(100,48,60)
#754751
(117,71,81)
#865E66
(134,94,102)
#97757B
(151,117,123)
#A88C90
(168,140,144)
#B9A3A5
(185,163,165)
#CABABA
(202,186,186)
#DBD1CF
(219,209,207)
#ECE8E4
(236,232,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #420212 color. Also use rgb(66,2,18) instead hex code.

Text Font Color

.myTextColor { color: #420212; }

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

This text font color is #420212.


Background Color

.myBgColor { background-color: #420212; }

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

This div background color is #420212.


Border color

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

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

This div border color is #420212.


Opacity

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

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

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

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

This text has shadow with #420212 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #420212 on black background.


Color preview on white background

This text has color #420212 on white background.



Black color preview on #420212 background

This text has black color on #420212 background.


White color preview on #420212 background

This text has white color on #420212 background.