COLOR #042804

HEX: #042804
RGB: (4,40,4)

Color info

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

RGB color model

#042804 color RGB value is (4,40,4).

  • red value is 4;
  • green value is 40;
  • blue value is 4.
RGB:
(4,40,4)
(2%,16%,2%)

RGB channels and saturation

R 4 of 255 = 2%
G 40 of 255 = 16%
B 4 of 255 = 2%

4
40
4

R + G + B ~ 7%. #042804 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 40 + 4 = 48 (100%)
R 4 of 48 ~ 8.33%
G 40 of 48 ~ 83.33%
B 4 of 48 ~ 8.33%

%83.33

CMYK color model

#042804 color CMYK value is (90,0,90,84).

  • cyan value is 90.00%
  • magenta value is 0.00%
  • yellow value is 90.00%
  • key color value is 84.31%
CMYK:
(90,0,90,84)
C90M0Y90K84 
(90%,0%,90%,84%)
(0.90/0.00/0.90/0.84)	

CMYK percentages

%90
%0
%90
%84.31

Codes

Color #042804 in popluar color models

042804
RGB4404
HSL120°81.82%8.63%
HSB/HSV120°90.00%15.69%
CMYK90.00%0.00%90.00%
84.31%

Color #042804 in popluar number systems.

HEX042804
Decimal4404
Binary100101000100
Octal4504

Shades and tints

Shades of #042804

#042804
(4,40,4)
#042504
(4,37,4)
#042204
(4,34,4)
#041F04
(4,31,4)
#041C04
(4,28,4)
#041904
(4,25,4)
#041604
(4,22,4)
#041304
(4,19,4)
#041004
(4,16,4)
#040D04
(4,13,4)
#040A04
(4,10,4)
#000000
(0,0,0)

Tints of #042804

#042804
(4,40,4)
#1A3B1A
(26,59,26)
#304E30
(48,78,48)
#466146
(70,97,70)
#5C745C
(92,116,92)
#728772
(114,135,114)
#889A88
(136,154,136)
#9EAD9E
(158,173,158)
#B4C0B4
(180,192,180)
#CAD3CA
(202,211,202)
#E0E6E0
(224,230,224)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #042804; }

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

This text font color is #042804.


Background Color

.myBgColor { background-color: #042804; }

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

This div background color is #042804.


Border color

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

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

This div border color is #042804.


Opacity

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

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

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

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

This text has shadow with #042804 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #042804 on black background.


Color preview on white background

This text has color #042804 on white background.



Black color preview on #042804 background

This text has black color on #042804 background.


White color preview on #042804 background

This text has white color on #042804 background.