COLOR #420202

HEX: #420202
RGB: (66,2,2)

Color info

#420202 contains mainly red color. Web safe color of #420202 is #330000 (or #300).

RGB color model

#420202 color RGB value is (66,2,2).

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

RGB channels and saturation

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

66
2
2

R + G + B ~ 9%. #420202 is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 2 + 2 = 70 (100%)
R 66 of 70 ~ 94.29%
G 2 of 70 ~ 2.86%
B 2 of 70 ~ 2.86%

%94.29

CMYK color model

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

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

CMYK percentages

%0
%96.97
%96.97
%74.12

Codes

Color #420202 in popluar color models

420202
RGB6622
HSL94.12%13.33%
HSB/HSV96.97%25.88%
CMYK0.00%96.97%96.97%
74.12%

Color #420202 in popluar number systems.

HEX420202
Decimal6622
Binary10000101010
Octal10222

Shades and tints

Shades of #420202

#420202
(66,2,2)
#3C0202
(60,2,2)
#360202
(54,2,2)
#300202
(48,2,2)
#2A0202
(42,2,2)
#240202
(36,2,2)
#1E0202
(30,2,2)
#180202
(24,2,2)
#120202
(18,2,2)
#0C0202
(12,2,2)
#060202
(6,2,2)
#000000
(0,0,0)

Tints of #420202

#420202
(66,2,2)
#531919
(83,25,25)
#643030
(100,48,48)
#754747
(117,71,71)
#865E5E
(134,94,94)
#977575
(151,117,117)
#A88C8C
(168,140,140)
#B9A3A3
(185,163,163)
#CABABA
(202,186,186)
#DBD1D1
(219,209,209)
#ECE8E8
(236,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #420202; }

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

This text font color is #420202.


Background Color

.myBgColor { background-color: #420202; }

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

This div background color is #420202.


Border color

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

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

This div border color is #420202.


Opacity

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

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

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

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

This text has shadow with #420202 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #420202 on black background.


Color preview on white background

This text has color #420202 on white background.



Black color preview on #420202 background

This text has black color on #420202 background.


White color preview on #420202 background

This text has white color on #420202 background.