COLOR #021008

HEX: #021008
RGB: (2,16,8)

Color info

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

RGB color model

#021008 color RGB value is (2,16,8).

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

RGB channels and saturation

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

2
16
8

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

Portions of RGB colors in percentages

R + G + B =
2 + 16 + 8 = 26 (100%)
R 2 of 26 ~ 7.69%
G 16 of 26 ~ 61.54%
B 8 of 26 ~ 30.77%

%61.54
%30.77

CMYK color model

#021008 color CMYK value is (88,0,50,94).

  • cyan value is 87.50%
  • magenta value is 0.00%
  • yellow value is 50.00%
  • key color value is 93.73%
CMYK:
(88,0,50,94)
C88M0Y50K94 
(88%,0%,50%,94%)
(0.88/0.00/0.50/0.94)	

CMYK percentages

%87.5
%0
%50
%93.73

Codes

Color #021008 in popluar color models

021008
RGB2168
HSL146°77.78%3.53%
HSB/HSV146°87.50%6.27%
CMYK87.50%0.00%50.00%
93.73%

Color #021008 in popluar number systems.

HEX021008
Decimal2168
Binary10100001000
Octal22010

Shades and tints

Shades of #021008

#021008
(2,16,8)
#020F08
(2,15,8)
#020E08
(2,14,8)
#020D08
(2,13,8)
#020C08
(2,12,8)
#020B08
(2,11,8)
#020A08
(2,10,8)
#020908
(2,9,8)
#020808
(2,8,8)
#020708
(2,7,8)
#020608
(2,6,8)
#000000
(0,0,0)

Tints of #021008

#021008
(2,16,8)
#19251E
(25,37,30)
#303A34
(48,58,52)
#474F4A
(71,79,74)
#5E6460
(94,100,96)
#757976
(117,121,118)
#8C8E8C
(140,142,140)
#A3A3A2
(163,163,162)
#BAB8B8
(186,184,184)
#D1CDCE
(209,205,206)
#E8E2E4
(232,226,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #021008; }

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

This text font color is #021008.


Background Color

.myBgColor { background-color: #021008; }

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

This div background color is #021008.


Border color

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

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

This div border color is #021008.


Opacity

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

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

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

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

This text has shadow with #021008 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #021008 on black background.


Color preview on white background

This text has color #021008 on white background.



Black color preview on #021008 background

This text has black color on #021008 background.


White color preview on #021008 background

This text has white color on #021008 background.