COLOR #04150C

HEX: #04150C
RGB: (4,21,12)

Color info

#04150C contains red, green and blue colors in about the same proportion. Web safe color of #04150C is #000000 (or #000).

RGB color model

#04150C color RGB value is (4,21,12).

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

RGB channels and saturation

R 4 of 255 = 2%
G 21 of 255 = 8%
B 12 of 255 = 5%

4
21
12

R + G + B ~ 5%. #04150C is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 21 + 12 = 37 (100%)
R 4 of 37 ~ 10.81%
G 21 of 37 ~ 56.76%
B 12 of 37 ~ 32.43%

%10.81
%56.76
%32.43

CMYK color model

#04150C color CMYK value is (81,0,43,92).

  • cyan value is 80.95%
  • magenta value is 0.00%
  • yellow value is 42.86%
  • key color value is 91.76%
CMYK:
(81,0,43,92)
C81M0Y43K92 
(81%,0%,43%,92%)
(0.81/0.00/0.43/0.92)	

CMYK percentages

%80.95
%0
%42.86
%91.76

Codes

Color #04150C in popluar color models

04150C
RGB42112
HSL148°68.00%4.90%
HSB/HSV148°80.95%8.24%
CMYK80.95%0.00%42.86%
91.76%

Color #04150C in popluar number systems.

HEX04150C
Decimal42112
Binary100101011100
Octal42514

Shades and tints

Shades of #04150C

#04150C
(4,21,12)
#04140B
(4,20,11)
#04130A
(4,19,10)
#041209
(4,18,9)
#041108
(4,17,8)
#041007
(4,16,7)
#040F06
(4,15,6)
#040E05
(4,14,5)
#040D04
(4,13,4)
#040C03
(4,12,3)
#040B02
(4,11,2)
#000000
(0,0,0)

Tints of #04150C

#04150C
(4,21,12)
#1A2A22
(26,42,34)
#303F38
(48,63,56)
#46544E
(70,84,78)
#5C6964
(92,105,100)
#727E7A
(114,126,122)
#889390
(136,147,144)
#9EA8A6
(158,168,166)
#B4BDBC
(180,189,188)
#CAD2D2
(202,210,210)
#E0E7E8
(224,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04150C; }

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

This text font color is #04150C.


Background Color

.myBgColor { background-color: #04150C; }

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

This div background color is #04150C.


Border color

.myBorderColor { border: 1px solid #04150C; }

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

This div border color is #04150C.


Opacity

.myOpacity80 { color: #04150C; opacity: 0.8; }

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

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

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

This text has shadow with #04150C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04150C on black background.


Color preview on white background

This text has color #04150C on white background.



Black color preview on #04150C background

This text has black color on #04150C background.


White color preview on #04150C background

This text has white color on #04150C background.