COLOR #08040C

HEX: #08040C
RGB: (8,4,12)

Color info

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

RGB color model

#08040C color RGB value is (8,4,12).

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

RGB channels and saturation

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

8
4
12

R + G + B ~ 3%. #08040C is dark color.

Portions of RGB colors in percentages

R + G + B =
8 + 4 + 12 = 24 (100%)
R 8 of 24 ~ 33.33%
G 4 of 24 ~ 16.67%
B 12 of 24 ~ 50%

%33.33
%16.67
%50

CMYK color model

#08040C color CMYK value is (33,67,0,95).

  • cyan value is 33.33%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 95.29%
CMYK:
(33,67,0,95)
C33M67Y0K95 
(33%,67%,0%,95%)
(0.33/0.67/0.00/0.95)	

CMYK percentages

%33.33
%66.67
%0
%95.29

Codes

Color #08040C in popluar color models

08040C
RGB8412
HSL270°50.00%3.14%
HSB/HSV270°66.67%4.71%
CMYK33.33%66.67%0.00%
95.29%

Color #08040C in popluar number systems.

HEX08040C
Decimal8412
Binary10001001100
Octal10414

Shades and tints

Shades of #08040C

#08040C
(8,4,12)
#08040B
(8,4,11)
#08040A
(8,4,10)
#080409
(8,4,9)
#080408
(8,4,8)
#080407
(8,4,7)
#080406
(8,4,6)
#080405
(8,4,5)
#080404
(8,4,4)
#080403
(8,4,3)
#080402
(8,4,2)
#000000
(0,0,0)

Tints of #08040C

#08040C
(8,4,12)
#1E1A22
(30,26,34)
#343038
(52,48,56)
#4A464E
(74,70,78)
#605C64
(96,92,100)
#76727A
(118,114,122)
#8C8890
(140,136,144)
#A29EA6
(162,158,166)
#B8B4BC
(184,180,188)
#CECAD2
(206,202,210)
#E4E0E8
(228,224,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #08040C; }

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

This text font color is #08040C.


Background Color

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

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

This div background color is #08040C.


Border color

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

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

This div border color is #08040C.


Opacity

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

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

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

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

This text has shadow with #08040C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #08040C on black background.


Color preview on white background

This text has color #08040C on white background.



Black color preview on #08040C background

This text has black color on #08040C background.


White color preview on #08040C background

This text has white color on #08040C background.