COLOR #042815

HEX: #042815
RGB: (4,40,21)

Color info

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

RGB color model

#042815 color RGB value is (4,40,21).

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

RGB channels and saturation

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

4
40
21

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

Portions of RGB colors in percentages

R + G + B =
4 + 40 + 21 = 65 (100%)
R 4 of 65 ~ 6.15%
G 40 of 65 ~ 61.54%
B 21 of 65 ~ 32.31%

%61.54
%32.31

CMYK color model

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

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

CMYK percentages

%90
%0
%47.5
%84.31

Codes

Color #042815 in popluar color models

042815
RGB44021
HSL148°81.82%8.63%
HSB/HSV148°90.00%15.69%
CMYK90.00%0.00%47.50%
84.31%

Color #042815 in popluar number systems.

HEX042815
Decimal44021
Binary10010100010101
Octal45025

Shades and tints

Shades of #042815

#042815
(4,40,21)
#042514
(4,37,20)
#042213
(4,34,19)
#041F12
(4,31,18)
#041C11
(4,28,17)
#041910
(4,25,16)
#04160F
(4,22,15)
#04130E
(4,19,14)
#04100D
(4,16,13)
#040D0C
(4,13,12)
#040A0B
(4,10,11)
#000000
(0,0,0)

Tints of #042815

#042815
(4,40,21)
#1A3B2A
(26,59,42)
#304E3F
(48,78,63)
#466154
(70,97,84)
#5C7469
(92,116,105)
#72877E
(114,135,126)
#889A93
(136,154,147)
#9EADA8
(158,173,168)
#B4C0BD
(180,192,189)
#CAD3D2
(202,211,210)
#E0E6E7
(224,230,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #042815; }

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

This text font color is #042815.


Background Color

.myBgColor { background-color: #042815; }

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

This div background color is #042815.


Border color

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

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

This div border color is #042815.


Opacity

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

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

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

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

This text has shadow with #042815 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #042815 on black background.


Color preview on white background

This text has color #042815 on white background.



Black color preview on #042815 background

This text has black color on #042815 background.


White color preview on #042815 background

This text has white color on #042815 background.