COLOR #04120A

HEX: #04120A
RGB: (4,18,10)

Color info

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

RGB color model

#04120A color RGB value is (4,18,10).

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

RGB channels and saturation

R 4 of 255 = 2%
G 18 of 255 = 7%
B 10 of 255 = 4%

4
18
10

R + G + B ~ 4%. #04120A is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 18 + 10 = 32 (100%)
R 4 of 32 ~ 12.5%
G 18 of 32 ~ 56.25%
B 10 of 32 ~ 31.25%

%12.5
%56.25
%31.25

CMYK color model

#04120A color CMYK value is (78,0,44,93).

  • cyan value is 77.78%
  • magenta value is 0.00%
  • yellow value is 44.44%
  • key color value is 92.94%
CMYK:
(78,0,44,93)
C78M0Y44K93 
(78%,0%,44%,93%)
(0.78/0.00/0.44/0.93)	

CMYK percentages

%77.78
%0
%44.44
%92.94

Codes

Color #04120A in popluar color models

04120A
RGB41810
HSL146°63.64%4.31%
HSB/HSV146°77.78%7.06%
CMYK77.78%0.00%44.44%
92.94%

Color #04120A in popluar number systems.

HEX04120A
Decimal41810
Binary100100101010
Octal42212

Shades and tints

Shades of #04120A

#04120A
(4,18,10)
#04110A
(4,17,10)
#04100A
(4,16,10)
#040F0A
(4,15,10)
#040E0A
(4,14,10)
#040D0A
(4,13,10)
#040C0A
(4,12,10)
#040B0A
(4,11,10)
#040A0A
(4,10,10)
#04090A
(4,9,10)
#04080A
(4,8,10)
#000000
(0,0,0)

Tints of #04120A

#04120A
(4,18,10)
#1A2720
(26,39,32)
#303C36
(48,60,54)
#46514C
(70,81,76)
#5C6662
(92,102,98)
#727B78
(114,123,120)
#88908E
(136,144,142)
#9EA5A4
(158,165,164)
#B4BABA
(180,186,186)
#CACFD0
(202,207,208)
#E0E4E6
(224,228,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04120A; }

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

This text font color is #04120A.


Background Color

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

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

This div background color is #04120A.


Border color

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

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

This div border color is #04120A.


Opacity

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

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

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

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

This text has shadow with #04120A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04120A on black background.


Color preview on white background

This text has color #04120A on white background.



Black color preview on #04120A background

This text has black color on #04120A background.


White color preview on #04120A background

This text has white color on #04120A background.