COLOR #042008

HEX: #042008 RGB: (4,32,8)

Color info

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

RGB color model

#042008 color RGB value is (4,32,8).

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

RGB channels and saturation

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

4
32
8

R + G + B ~ 6%. #042008 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 32 + 8 = 44 (100%)
R 4 of 44 ~ 9.09%
G 32 of 44 ~ 72.73%
B 8 of 44 ~ 18.18'%

%72.73
%18.18

CMYK color model

#042008 color CMYK value is (88,0,75,87).

  • cyan value is 87.50%
  • magenta value is 0.00%
  • yellow value is 75.00%
  • key color value is 87.45%
CMYK: (88,0,75,87) C88M0Y75K87 (88%,0%,75%,87%) (0.88/0.00/0.75/0.87) 

CMYK percentages

%87.5
%0
%75
%87.45

Codes

Color #042008 in popluar color models

04 20 08
RGB 4 32 8
HSL 129° 77.78% 7.06%
HSB/HSV 129° 87.50% 12.55%
CMYK 87.50% 0.00% 75.00%
87.45%

Color #042008 in popluar number systems.

HEX 04 20 08
Decimal 4 32 8
Binary 100 100000 1000
Octal 4 40 10

Shades and tints

Shades of #042008

#042008
(4,32,8)
#041E08
(4,30,8)
#041C08
(4,28,8)
#041A08
(4,26,8)
#041808
(4,24,8)
#041608
(4,22,8)
#041408
(4,20,8)
#041208
(4,18,8)
#041008
(4,16,8)
#040E08
(4,14,8)
#040C08
(4,12,8)
#000000
(0,0,0)

Tints of #042008

#042008
(4,32,8)
#1A341E
(26,52,30)
#304834
(48,72,52)
#465C4A
(70,92,74)
#5C7060
(92,112,96)
#728476
(114,132,118)
#88988C
(136,152,140)
#9EACA2
(158,172,162)
#B4C0B8
(180,192,184)
#CAD4CE
(202,212,206)
#E0E8E4
(224,232,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #042008; }

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

This text font color is #042008.

Background Color

.myBgColor { background-color: #042008; }

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

This div background color is #042008.

Border color

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

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

This div border color is #042008.

Opacity

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

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

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

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

This text has shadow with #042008 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #042008.

Preview

Color preview on black background

This text has color #042008 on black background.


Color preview on white background

This text has color #042008 on white background.


Black color preview on #042008 background

This text has black color on #042008 background.


White color preview on #042008 background

This text has white color on #042008 background.


Related colors

Complementary color

Complementary color for #hex is #FBDFF7.


I love getcolorcode.com

Triadic colors

1 #080420 and #200804 with #042008 are triadic colors.

2 #082004 and #200408 with #042008 are triadic colors.