COLOR #04200C

HEX: #04200C
RGB: (4,32,12)

Color info

#04200C contains red, green and blue colors in about the same proportion. Web safe color of #04200C is #003300 (or #030).

RGB color model

#04200C color RGB value is (4,32,12).

  • red value is 4;
  • green value is 32;
  • blue value is 12.
RGB:
(4,32,12)
(2%,13%,5%)

RGB channels and saturation

R 4 of 255 = 2%
G 32 of 255 = 13%
B 12 of 255 = 5%

4
32
12

R + G + B ~ 7%. #04200C is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 32 + 12 = 48 (100%)
R 4 of 48 ~ 8.33%
G 32 of 48 ~ 66.67%
B 12 of 48 ~ 25%

%66.67
%25

CMYK color model

#04200C color CMYK value is (88,0,63,87).

  • cyan value is 87.50%
  • magenta value is 0.00%
  • yellow value is 62.50%
  • key color value is 87.45%
CMYK:
(88,0,63,87)
C88M0Y63K87 
(88%,0%,63%,87%)
(0.88/0.00/0.63/0.87)	

CMYK percentages

%87.5
%0
%62.5
%87.45

Codes

Color #04200C in popluar color models

04200C
RGB43212
HSL137°77.78%7.06%
HSB/HSV137°87.50%12.55%
CMYK87.50%0.00%62.50%
87.45%

Color #04200C in popluar number systems.

HEX04200C
Decimal43212
Binary1001000001100
Octal44014

Shades and tints

Shades of #04200C

#04200C
(4,32,12)
#041E0B
(4,30,11)
#041C0A
(4,28,10)
#041A09
(4,26,9)
#041808
(4,24,8)
#041607
(4,22,7)
#041406
(4,20,6)
#041205
(4,18,5)
#041004
(4,16,4)
#040E03
(4,14,3)
#040C02
(4,12,2)
#000000
(0,0,0)

Tints of #04200C

#04200C
(4,32,12)
#1A3422
(26,52,34)
#304838
(48,72,56)
#465C4E
(70,92,78)
#5C7064
(92,112,100)
#72847A
(114,132,122)
#889890
(136,152,144)
#9EACA6
(158,172,166)
#B4C0BC
(180,192,188)
#CAD4D2
(202,212,210)
#E0E8E8
(224,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04200C color. Also use rgb(4,32,12) instead hex code.

Text Font Color

.myTextColor { color: #04200C; }

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

This text font color is #04200C.


Background Color

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

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

This div background color is #04200C.


Border color

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

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

This div border color is #04200C.


Opacity

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

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

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

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

This text has shadow with #04200C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04200C on black background.


Color preview on white background

This text has color #04200C on white background.



Black color preview on #04200C background

This text has black color on #04200C background.


White color preview on #04200C background

This text has white color on #04200C background.