COLOR #040D08

HEX: #040D08 RGB: (4,13,8)

Color info

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

RGB color model

#040D08 color RGB value is (4,13,8).

RGB: (4,13,8) (2%, 5%, 3%)

RGB channels and saturation

R 4 of 255 = 2%
G 13 of 255 = 5%
B 8 of 255 = 3%

4
13
8

R + G + B ~ 3%. #040D08 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 13 + 8 = 25 (100%)
R 4 of 25 ~ 16%
G 13 of 25 ~ 52%
B 8 of 25 ~ 32'%

%16
%52
%32

CMYK color model

#040D08 color CMYK value is (69,0,38,95).

  • cyan value is 69.23%
  • magenta value is 0.00%
  • yellow value is 38.46%
  • key color value is 94.90%

CMYK: (69,0,38,95)
C69M0Y38K95 (69%, 0%, 38%, 95%)
(0.69 / 0.00 / 0.38 / 0.95)

CMYK percentages

%69.23
%0
%38.46
%94.9

Codes

Color #040D08 in popluar color models

04 0D 08
RGB 4 13 8
HSL 147° 52.94% 3.33%
HSB/HSV 147° 69.23% 5.10%
CMYK 69.23% 0.00% 38.46%
94.90%

Color #040D08 in popluar number systems.

HEX 04 0D 08
Decimal 4 13 8
Binary 100 1101 1000
Octal 4 15 10

Shades and tints

Shades of #040D08

#040D08
(4,13,8)
#040C08
(4,12,8)
#040B08
(4,11,8)
#040A08
(4,10,8)
#040908
(4,9,8)
#040808
(4,8,8)
#040708
(4,7,8)
#040608
(4,6,8)
#040508
(4,5,8)
#040408
(4,4,8)
#040308
(4,3,8)
#000000
(0,0,0)

Tints of #040D08

#040D08
(4,13,8)
#1A231E
(26,35,30)
#303934
(48,57,52)
#464F4A
(70,79,74)
#5C6560
(92,101,96)
#727B76
(114,123,118)
#88918C
(136,145,140)
#9EA7A2
(158,167,162)
#B4BDB8
(180,189,184)
#CAD3CE
(202,211,206)
#E0E9E4
(224,233,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040D08 color. Also use rgb(4,13,8) instead hex code.

Text Font Color

.myTextColor { color: #040D08; }

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

This text font color is #040D08.

Background Color

.myBgColor { background-color: #040D08; }

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

This div background color is #040D08.

Border color

.myBorderColor { border: 1px solid #040D08; }

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

This div border color is #040D08.

Opacity

.myOpacity80 { color: #040D08; opacity: 0.8; }

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

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

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

This text has shadow with #040D08 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040D08.

Preview

Color preview on black background

This text has color #040D08 on black background.


Color preview on white background

This text has color #040D08 on white background.


Black color preview on #040D08 background

This text has black color on #040D08 background.


White color preview on #040D08 background

This text has white color on #040D08 background.


Related colors

Complementary color

Complementary color for #hex is #FBF2F7.


I love getcolorcode.com

Triadic colors

1 #08040D and #0D0804 with #040D08 are triadic colors.

2 #080D04 and #0D0408 with #040D08 are triadic colors.