COLOR #04211C

HEX: #04211C RGB: (4,33,28)

Color info

#04211C contains red, green and blue colors in about the same proportion. Web safe color of #04211C is #003333 (or #033).

RGB color model

#04211C color RGB value is (4,33,28).

RGB: (4,33,28) (2%, 13%, 11%)

RGB channels and saturation

R 4 of 255 = 2%
G 33 of 255 = 13%
B 28 of 255 = 11%

4
33
28

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

Portions of RGB colors in percentages

R + G + B = 4 + 33 + 28 = 65 (100%)
R 4 of 65 ~ 6.15%
G 33 of 65 ~ 50.77%
B 28 of 65 ~ 43.08'%

%50.77
%43.08

CMYK color model

#04211C color CMYK value is (88,0,15,87).

  • cyan value is 87.88%
  • magenta value is 0.00%
  • yellow value is 15.15%
  • key color value is 87.06%

CMYK: (88,0,15,87)
C88M0Y15K87 (88%, 0%, 15%, 87%)
(0.88 / 0.00 / 0.15 / 0.87)

CMYK percentages

%87.88
%0
%15.15
%87.06

Codes

Color #04211C in popluar color models

04 21 1C
RGB 4 33 28
HSL 170° 78.38% 7.25%
HSB/HSV 170° 87.88% 12.94%
CMYK 87.88% 0.00% 15.15%
87.06%

Color #04211C in popluar number systems.

HEX 04 21 1C
Decimal 4 33 28
Binary 100 100001 11100
Octal 4 41 34

Shades and tints

Shades of #04211C

#04211C
(4,33,28)
#041E1A
(4,30,26)
#041B18
(4,27,24)
#041816
(4,24,22)
#041514
(4,21,20)
#041212
(4,18,18)
#040F10
(4,15,16)
#040C0E
(4,12,14)
#04090C
(4,9,12)
#04060A
(4,6,10)
#040308
(4,3,8)
#000000
(0,0,0)

Tints of #04211C

#04211C
(4,33,28)
#1A3530
(26,53,48)
#304944
(48,73,68)
#465D58
(70,93,88)
#5C716C
(92,113,108)
#728580
(114,133,128)
#889994
(136,153,148)
#9EADA8
(158,173,168)
#B4C1BC
(180,193,188)
#CAD5D0
(202,213,208)
#E0E9E4
(224,233,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04211C color. Also use rgb(4,33,28) instead hex code.

Text Font Color

.myTextColor { color: #04211C; }

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

This text font color is #04211C.

Background Color

.myBgColor { background-color: #04211C; }

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

This div background color is #04211C.

Border color

.myBorderColor { border: 1px solid #04211C; }

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

This div border color is #04211C.

Opacity

.myOpacity80 { color: #04211C; opacity: 0.8; }

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

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

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

This text has shadow with #04211C color.


.textShadow {text-shadow: 3px 3px 1px #04211C', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #04211C; -webkit-box-shadow: 1px 1px 3px 2px #04211C; box-shadow:1px 1px 3px 2px #04211C;">
Div content here
</div>

This div box has shadow with color #04211C.

Preview

Color preview on black background

This text has color #04211C on black background.


Color preview on white background

This text has color #04211C on white background.


Black color preview on #04211C background

This text has black color on #04211C background.


White color preview on #04211C background

This text has white color on #04211C background.


Related colors

Complementary color

Complementary color for #hex is #FBDEE3.


I love getcolorcode.com

Triadic colors

1 #1C0421 and #211C04 with #04211C are triadic colors.

2 #1C2104 and #21041C with #04211C are triadic colors.