COLOR #042E17

HEX: #042E17 RGB: (4,46,23)

Color info

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

RGB color model

#042E17 color RGB value is (4,46,23).

RGB: (4,46,23) (2%, 18%, 9%)

RGB channels and saturation

R 4 of 255 = 2%
G 46 of 255 = 18%
B 23 of 255 = 9%

4
46
23

R + G + B ~ 10%. #042E17 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 46 + 23 = 73 (100%)
R 4 of 73 ~ 5.48%
G 46 of 73 ~ 63.01%
B 23 of 73 ~ 31.51'%

%63.01
%31.51

CMYK color model

#042E17 color CMYK value is (91,0,50,82).

  • cyan value is 91.30%
  • magenta value is 0.00%
  • yellow value is 50.00%
  • key color value is 81.96%

CMYK: (91,0,50,82)
C91M0Y50K82 (91%, 0%, 50%, 82%)
(0.91 / 0.00 / 0.50 / 0.82)

CMYK percentages

%91.3
%0
%50
%81.96

Codes

Color #042E17 in popluar color models

04 2E 17
RGB 4 46 23
HSL 147° 84.00% 9.80%
HSB/HSV 147° 91.30% 18.04%
CMYK 91.30% 0.00% 50.00%
81.96%

Color #042E17 in popluar number systems.

HEX 04 2E 17
Decimal 4 46 23
Binary 100 101110 10111
Octal 4 56 27

Shades and tints

Shades of #042E17

#042E17
(4,46,23)
#042A15
(4,42,21)
#042613
(4,38,19)
#042211
(4,34,17)
#041E0F
(4,30,15)
#041A0D
(4,26,13)
#04160B
(4,22,11)
#041209
(4,18,9)
#040E07
(4,14,7)
#040A05
(4,10,5)
#040603
(4,6,3)
#000000
(0,0,0)

Tints of #042E17

#042E17
(4,46,23)
#1A412C
(26,65,44)
#305441
(48,84,65)
#466756
(70,103,86)
#5C7A6B
(92,122,107)
#728D80
(114,141,128)
#88A095
(136,160,149)
#9EB3AA
(158,179,170)
#B4C6BF
(180,198,191)
#CAD9D4
(202,217,212)
#E0ECE9
(224,236,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042E17 color. Also use rgb(4,46,23) instead hex code.

Text Font Color

.myTextColor { color: #042E17; }

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

This text font color is #042E17.

Background Color

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

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

This div background color is #042E17.

Border color

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

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

This div border color is #042E17.

Opacity

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

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

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

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

This text has shadow with #042E17 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #042E17.

Preview

Color preview on black background

This text has color #042E17 on black background.


Color preview on white background

This text has color #042E17 on white background.


Black color preview on #042E17 background

This text has black color on #042E17 background.


White color preview on #042E17 background

This text has white color on #042E17 background.


Related colors

Complementary color

Complementary color for #hex is #FBD1E8.


I love getcolorcode.com

Triadic colors

1 #17042E and #2E1704 with #042E17 are triadic colors.

2 #172E04 and #2E0417 with #042E17 are triadic colors.