COLOR #051008

HEX: #051008
RGB: (5,16,8)

Color info

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

RGB color model

#051008 color RGB value is (5,16,8).

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

RGB channels and saturation

R 5 of 255 = 2%
G 16 of 255 = 6%
B 8 of 255 = 3%

5
16
8

R + G + B ~ 4%. #051008 is dark color.

Portions of RGB colors in percentages

R + G + B =
5 + 16 + 8 = 29 (100%)
R 5 of 29 ~ 17.24%
G 16 of 29 ~ 55.17%
B 8 of 29 ~ 27.59%

%17.24
%55.17
%27.59

CMYK color model

#051008 color CMYK value is (69,0,50,94).

  • cyan value is 68.75%
  • magenta value is 0.00%
  • yellow value is 50.00%
  • key color value is 93.73%
CMYK:
(69,0,50,94)
C69M0Y50K94 
(69%,0%,50%,94%)
(0.69/0.00/0.50/0.94)	

CMYK percentages

%68.75
%0
%50
%93.73

Codes

Color #051008 in popluar color models

051008
RGB5168
HSL136°52.38%4.12%
HSB/HSV136°68.75%6.27%
CMYK68.75%0.00%50.00%
93.73%

Color #051008 in popluar number systems.

HEX051008
Decimal5168
Binary101100001000
Octal52010

Shades and tints

Shades of #051008

#051008
(5,16,8)
#050F08
(5,15,8)
#050E08
(5,14,8)
#050D08
(5,13,8)
#050C08
(5,12,8)
#050B08
(5,11,8)
#050A08
(5,10,8)
#050908
(5,9,8)
#050808
(5,8,8)
#050708
(5,7,8)
#050608
(5,6,8)
#000000
(0,0,0)

Tints of #051008

#051008
(5,16,8)
#1B251E
(27,37,30)
#313A34
(49,58,52)
#474F4A
(71,79,74)
#5D6460
(93,100,96)
#737976
(115,121,118)
#898E8C
(137,142,140)
#9FA3A2
(159,163,162)
#B5B8B8
(181,184,184)
#CBCDCE
(203,205,206)
#E1E2E4
(225,226,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #051008 color. Also use rgb(5,16,8) instead hex code.

Text Font Color

.myTextColor { color: #051008; }

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

This text font color is #051008.


Background Color

.myBgColor { background-color: #051008; }

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

This div background color is #051008.


Border color

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

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

This div border color is #051008.


Opacity

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

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

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

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

This text has shadow with #051008 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #051008 on black background.


Color preview on white background

This text has color #051008 on white background.



Black color preview on #051008 background

This text has black color on #051008 background.


White color preview on #051008 background

This text has white color on #051008 background.