COLOR #040912

HEX: #040912 RGB: (4,9,18)

Color info

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

RGB color model

#040912 color RGB value is (4,9,18).

RGB: (4,9,18) (2%, 4%, 7%)

RGB channels and saturation

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

4
9
18

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

Portions of RGB colors in percentages

R + G + B = 4 + 9 + 18 = 31 (100%)
R 4 of 31 ~ 12.9%
G 9 of 31 ~ 29.03%
B 18 of 31 ~ 58.06'%

%12.9
%29.03
%58.06

CMYK color model

#040912 color CMYK value is (78,50,0,93).

  • cyan value is 77.78%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 92.94%
CMYK: (78,50,0,93) C78M50Y0K93 (78%,50%,0%,93%) (0.78/0.50/0.00/0.93) 

CMYK percentages

%77.78
%50
%0
%92.94

Codes

Color #040912 in popluar color models

04 09 12
RGB 4 9 18
HSL 219° 63.64% 4.31%
HSB/HSV 219° 77.78% 7.06%
CMYK 77.78% 50.00% 0.00%
92.94%

Color #040912 in popluar number systems.

HEX 04 09 12
Decimal 4 9 18
Binary 100 1001 10010
Octal 4 11 22

Shades and tints

Shades of #040912

#040912
(4,9,18)
#040911
(4,9,17)
#040910
(4,9,16)
#04090F
(4,9,15)
#04090E
(4,9,14)
#04090D
(4,9,13)
#04090C
(4,9,12)
#04090B
(4,9,11)
#04090A
(4,9,10)
#040909
(4,9,9)
#040908
(4,9,8)
#000000
(0,0,0)

Tints of #040912

#040912
(4,9,18)
#1A1F27
(26,31,39)
#30353C
(48,53,60)
#464B51
(70,75,81)
#5C6166
(92,97,102)
#72777B
(114,119,123)
#888D90
(136,141,144)
#9EA3A5
(158,163,165)
#B4B9BA
(180,185,186)
#CACFCF
(202,207,207)
#E0E5E4
(224,229,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040912; }

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

This text font color is #040912.

Background Color

.myBgColor { background-color: #040912; }

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

This div background color is #040912.

Border color

.myBorderColor { border: 1px solid #040912; }

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

This div border color is #040912.

Opacity

.myOpacity80 { color: #040912; opacity: 0.8; }

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

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

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

This text has shadow with #040912 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040912.

Preview

Color preview on black background

This text has color #040912 on black background.


Color preview on white background

This text has color #040912 on white background.


Black color preview on #040912 background

This text has black color on #040912 background.


White color preview on #040912 background

This text has white color on #040912 background.


Related colors

Complementary color

Complementary color for #hex is #FBF6ED.


I love getcolorcode.com

Triadic colors

1 #120409 and #091204 with #040912 are triadic colors.

2 #120904 and #090412 with #040912 are triadic colors.