COLOR #04120D

HEX: #04120D
RGB: (4,18,13)

Color info

#04120D contains red, green and blue colors in about the same proportion. Web safe color of #04120D is #000000 (or #000).

RGB color model

#04120D color RGB value is (4,18,13).

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

RGB channels and saturation

R 4 of 255 = 2%
G 18 of 255 = 7%
B 13 of 255 = 5%

4
18
13

R + G + B ~ 5%. #04120D is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 18 + 13 = 35 (100%)
R 4 of 35 ~ 11.43%
G 18 of 35 ~ 51.43%
B 13 of 35 ~ 37.14%

%11.43
%51.43
%37.14

CMYK color model

#04120D color CMYK value is (78,0,28,93).

  • cyan value is 77.78%
  • magenta value is 0.00%
  • yellow value is 27.78%
  • key color value is 92.94%
CMYK:
(78,0,28,93)
C78M0Y28K93 
(78%,0%,28%,93%)
(0.78/0.00/0.28/0.93)	

CMYK percentages

%77.78
%0
%27.78
%92.94

Codes

Color #04120D in popluar color models

04120D
RGB41813
HSL159°63.64%4.31%
HSB/HSV159°77.78%7.06%
CMYK77.78%0.00%27.78%
92.94%

Color #04120D in popluar number systems.

HEX04120D
Decimal41813
Binary100100101101
Octal42215

Shades and tints

Shades of #04120D

#04120D
(4,18,13)
#04110C
(4,17,12)
#04100B
(4,16,11)
#040F0A
(4,15,10)
#040E09
(4,14,9)
#040D08
(4,13,8)
#040C07
(4,12,7)
#040B06
(4,11,6)
#040A05
(4,10,5)
#040904
(4,9,4)
#040803
(4,8,3)
#000000
(0,0,0)

Tints of #04120D

#04120D
(4,18,13)
#1A2723
(26,39,35)
#303C39
(48,60,57)
#46514F
(70,81,79)
#5C6665
(92,102,101)
#727B7B
(114,123,123)
#889091
(136,144,145)
#9EA5A7
(158,165,167)
#B4BABD
(180,186,189)
#CACFD3
(202,207,211)
#E0E4E9
(224,228,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04120D color. Also use rgb(4,18,13) instead hex code.

Text Font Color

.myTextColor { color: #04120D; }

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

This text font color is #04120D.


Background Color

.myBgColor { background-color: #04120D; }

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

This div background color is #04120D.


Border color

.myBorderColor { border: 1px solid #04120D; }

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

This div border color is #04120D.


Opacity

.myOpacity80 { color: #04120D; opacity: 0.8; }

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

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

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

This text has shadow with #04120D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04120D on black background.


Color preview on white background

This text has color #04120D on white background.



Black color preview on #04120D background

This text has black color on #04120D background.


White color preview on #04120D background

This text has white color on #04120D background.