COLOR #420F28

HEX: #420F28
RGB: (66,15,40)

Color info

#420F28 contains red, green and blue colors in about the same proportion. Web safe color of #420F28 is #330033 (or #303).

RGB color model

#420F28 color RGB value is (66,15,40).

  • red value is 66;
  • green value is 15;
  • blue value is 40.
RGB:
(66,15,40)
(26%,6%,16%)

RGB channels and saturation

R 66 of 255 = 26%
G 15 of 255 = 6%
B 40 of 255 = 16%

66
15
40

R + G + B ~ 16%. #420F28 is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 15 + 40 = 121 (100%)
R 66 of 121 ~ 54.55%
G 15 of 121 ~ 12.4%
B 40 of 121 ~ 33.06%

%54.55
%12.4
%33.06

CMYK color model

#420F28 color CMYK value is (0,77,39,74).

  • cyan value is 0.00%
  • magenta value is 77.27%
  • yellow value is 39.39%
  • key color value is 74.12%
CMYK:
(0,77,39,74)
C0M77Y39K74 
(0%,77%,39%,74%)
(0.00/0.77/0.39/0.74)	

CMYK percentages

%0
%77.27
%39.39
%74.12

Codes

Color #420F28 in popluar color models

420F28
RGB661540
HSL331°62.96%15.88%
HSB/HSV331°77.27%25.88%
CMYK0.00%77.27%39.39%
74.12%

Color #420F28 in popluar number systems.

HEX420F28
Decimal661540
Binary10000101111101000
Octal1021750

Shades and tints

Shades of #420F28

#420F28
(66,15,40)
#3C0E25
(60,14,37)
#360D22
(54,13,34)
#300C1F
(48,12,31)
#2A0B1C
(42,11,28)
#240A19
(36,10,25)
#1E0916
(30,9,22)
#180813
(24,8,19)
#120710
(18,7,16)
#0C060D
(12,6,13)
#06050A
(6,5,10)
#000000
(0,0,0)

Tints of #420F28

#420F28
(66,15,40)
#53243B
(83,36,59)
#64394E
(100,57,78)
#754E61
(117,78,97)
#866374
(134,99,116)
#977887
(151,120,135)
#A88D9A
(168,141,154)
#B9A2AD
(185,162,173)
#CAB7C0
(202,183,192)
#DBCCD3
(219,204,211)
#ECE1E6
(236,225,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #420F28 color. Also use rgb(66,15,40) instead hex code.

Text Font Color

.myTextColor { color: #420F28; }

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

This text font color is #420F28.


Background Color

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

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

This div background color is #420F28.


Border color

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

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

This div border color is #420F28.


Opacity

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

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

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

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

This text has shadow with #420F28 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #420F28 on black background.


Color preview on white background

This text has color #420F28 on white background.



Black color preview on #420F28 background

This text has black color on #420F28 background.


White color preview on #420F28 background

This text has white color on #420F28 background.