COLOR #042918

HEX: #042918
RGB: (4,41,24)

Color info

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

RGB color model

#042918 color RGB value is (4,41,24).

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

RGB channels and saturation

R 4 of 255 = 2%
G 41 of 255 = 16%
B 24 of 255 = 9%

4
41
24

R + G + B ~ 9%. #042918 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 41 + 24 = 69 (100%)
R 4 of 69 ~ 5.8%
G 41 of 69 ~ 59.42%
B 24 of 69 ~ 34.78%

%59.42
%34.78

CMYK color model

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

  • cyan value is 90.24%
  • magenta value is 0.00%
  • yellow value is 41.46%
  • key color value is 83.92%
CMYK:
(90,0,41,84)
C90M0Y41K84 
(90%,0%,41%,84%)
(0.90/0.00/0.41/0.84)	

CMYK percentages

%90.24
%0
%41.46
%83.92

Codes

Color #042918 in popluar color models

042918
RGB44124
HSL152°82.22%8.82%
HSB/HSV152°90.24%16.08%
CMYK90.24%0.00%41.46%
83.92%

Color #042918 in popluar number systems.

HEX042918
Decimal44124
Binary10010100111000
Octal45130

Shades and tints

Shades of #042918

#042918
(4,41,24)
#042616
(4,38,22)
#042314
(4,35,20)
#042012
(4,32,18)
#041D10
(4,29,16)
#041A0E
(4,26,14)
#04170C
(4,23,12)
#04140A
(4,20,10)
#041108
(4,17,8)
#040E06
(4,14,6)
#040B04
(4,11,4)
#000000
(0,0,0)

Tints of #042918

#042918
(4,41,24)
#1A3C2D
(26,60,45)
#304F42
(48,79,66)
#466257
(70,98,87)
#5C756C
(92,117,108)
#728881
(114,136,129)
#889B96
(136,155,150)
#9EAEAB
(158,174,171)
#B4C1C0
(180,193,192)
#CAD4D5
(202,212,213)
#E0E7EA
(224,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #042918; }

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

This text font color is #042918.


Background Color

.myBgColor { background-color: #042918; }

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

This div background color is #042918.


Border color

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

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

This div border color is #042918.


Opacity

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

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

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

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

This text has shadow with #042918 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #042918 on black background.


Color preview on white background

This text has color #042918 on white background.



Black color preview on #042918 background

This text has black color on #042918 background.


White color preview on #042918 background

This text has white color on #042918 background.