COLOR #042A06

HEX: #042A06
RGB: (4,42,6)

Color info

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

RGB color model

#042A06 color RGB value is (4,42,6).

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

RGB channels and saturation

R 4 of 255 = 2%
G 42 of 255 = 16%
B 6 of 255 = 2%

4
42
6

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

Portions of RGB colors in percentages

R + G + B =
4 + 42 + 6 = 52 (100%)
R 4 of 52 ~ 7.69%
G 42 of 52 ~ 80.77%
B 6 of 52 ~ 11.54%

%80.77
%11.54

CMYK color model

#042A06 color CMYK value is (90,0,86,84).

  • cyan value is 90.48%
  • magenta value is 0.00%
  • yellow value is 85.71%
  • key color value is 83.53%
CMYK:
(90,0,86,84)
C90M0Y86K84 
(90%,0%,86%,84%)
(0.90/0.00/0.86/0.84)	

CMYK percentages

%90.48
%0
%85.71
%83.53

Codes

Color #042A06 in popluar color models

042A06
RGB4426
HSL123°82.61%9.02%
HSB/HSV123°90.48%16.47%
CMYK90.48%0.00%85.71%
83.53%

Color #042A06 in popluar number systems.

HEX042A06
Decimal4426
Binary100101010110
Octal4526

Shades and tints

Shades of #042A06

#042A06
(4,42,6)
#042706
(4,39,6)
#042406
(4,36,6)
#042106
(4,33,6)
#041E06
(4,30,6)
#041B06
(4,27,6)
#041806
(4,24,6)
#041506
(4,21,6)
#041206
(4,18,6)
#040F06
(4,15,6)
#040C06
(4,12,6)
#000000
(0,0,0)

Tints of #042A06

#042A06
(4,42,6)
#1A3D1C
(26,61,28)
#305032
(48,80,50)
#466348
(70,99,72)
#5C765E
(92,118,94)
#728974
(114,137,116)
#889C8A
(136,156,138)
#9EAFA0
(158,175,160)
#B4C2B6
(180,194,182)
#CAD5CC
(202,213,204)
#E0E8E2
(224,232,226)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042A06 color. Also use rgb(4,42,6) instead hex code.

Text Font Color

.myTextColor { color: #042A06; }

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

This text font color is #042A06.


Background Color

.myBgColor { background-color: #042A06; }

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

This div background color is #042A06.


Border color

.myBorderColor { border: 1px solid #042A06; }

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

This div border color is #042A06.


Opacity

.myOpacity80 { color: #042A06; opacity: 0.8; }

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

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

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

This text has shadow with #042A06 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #042A06 on black background.


Color preview on white background

This text has color #042A06 on white background.



Black color preview on #042A06 background

This text has black color on #042A06 background.


White color preview on #042A06 background

This text has white color on #042A06 background.