COLOR #042704

HEX: #042704
RGB: (4,39,4)

Color info

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

RGB color model

#042704 color RGB value is (4,39,4).

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

RGB channels and saturation

R 4 of 255 = 2%
G 39 of 255 = 15%
B 4 of 255 = 2%

4
39
4

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

Portions of RGB colors in percentages

R + G + B =
4 + 39 + 4 = 47 (100%)
R 4 of 47 ~ 8.51%
G 39 of 47 ~ 82.98%
B 4 of 47 ~ 8.51%

%82.98

CMYK color model

#042704 color CMYK value is (90,0,90,85).

  • cyan value is 89.74%
  • magenta value is 0.00%
  • yellow value is 89.74%
  • key color value is 84.71%
CMYK: (90,0,90,85) C90M0Y90K85 (90%,0%,90%,85%) (0.90/0.00/0.90/0.85)

CMYK percentages

%89.74
%0
%89.74
%84.71

Codes

Color #042704 in popluar color models

042704
RGB4394
HSL120°81.40%8.43%
HSB/HSV120°89.74%15.29%
CMYK89.74%0.00%89.74%
84.71%

Color #042704 in popluar number systems.

HEX042704
Decimal4394
Binary100100111100
Octal4474

Shades and tints

Shades of #042704

#042704
(4,39,4)
#042404
(4,36,4)
#042104
(4,33,4)
#041E04
(4,30,4)
#041B04
(4,27,4)
#041804
(4,24,4)
#041504
(4,21,4)
#041204
(4,18,4)
#040F04
(4,15,4)
#040C04
(4,12,4)
#040904
(4,9,4)
#000000
(0,0,0)

Tints of #042704

#042704
(4,39,4)
#1A3A1A
(26,58,26)
#304D30
(48,77,48)
#466046
(70,96,70)
#5C735C
(92,115,92)
#728672
(114,134,114)
#889988
(136,153,136)
#9EAC9E
(158,172,158)
#B4BFB4
(180,191,180)
#CAD2CA
(202,210,202)
#E0E5E0
(224,229,224)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #042704; }

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

This text font color is #042704.


Background Color

.myBgColor { background-color: #042704; }

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

This div background color is #042704.


Border color

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

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

This div border color is #042704.


Opacity

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

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

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

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

This text has shadow with #042704 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #042704 on black background.


Color preview on white background

This text has color #042704 on white background.



Black color preview on #042704 background

This text has black color on #042704 background.


White color preview on #042704 background

This text has white color on #042704 background.