COLOR #020506

HEX: #020506
RGB: (2,5,6)

Color info

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

RGB color model

#020506 color RGB value is (2,5,6).

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

RGB channels and saturation

R 2 of 255 = 1%
G 5 of 255 = 2%
B 6 of 255 = 2%

2
5
6

R + G + B ~ 2%. #020506 is dark color.

Portions of RGB colors in percentages

R + G + B =
2 + 5 + 6 = 13 (100%)
R 2 of 13 ~ 15.38%
G 5 of 13 ~ 38.46%
B 6 of 13 ~ 46.15%

%15.38
%38.46
%46.15

CMYK color model

#020506 color CMYK value is (67,17,0,98).

  • cyan value is 66.67%
  • magenta value is 16.67%
  • yellow value is 0.00%
  • key color value is 97.65%
CMYK:
(67,17,0,98)
C67M17Y0K98 
(67%,17%,0%,98%)
(0.67/0.17/0.00/0.98)	

CMYK percentages

%66.67
%16.67
%0
%97.65

Codes

Color #020506 in popluar color models

020506
RGB256
HSL195°50.00%1.57%
HSB/HSV195°66.67%2.35%
CMYK66.67%16.67%0.00%
97.65%

Color #020506 in popluar number systems.

HEX020506
Decimal256
Binary10101110
Octal256

Shades and tints

Tints of #020506

#020506
(2,5,6)
#191B1C
(25,27,28)
#303132
(48,49,50)
#474748
(71,71,72)
#5E5D5E
(94,93,94)
#757374
(117,115,116)
#8C898A
(140,137,138)
#A39FA0
(163,159,160)
#BAB5B6
(186,181,182)
#D1CBCC
(209,203,204)
#E8E1E2
(232,225,226)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #020506 color. Also use rgb(2,5,6) instead hex code.

Text Font Color

.myTextColor { color: #020506; }

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

This text font color is #020506.


Background Color

.myBgColor { background-color: #020506; }

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

This div background color is #020506.


Border color

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

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

This div border color is #020506.


Opacity

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

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

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

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

This text has shadow with #020506 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #020506 on black background.


Color preview on white background

This text has color #020506 on white background.



Black color preview on #020506 background

This text has black color on #020506 background.


White color preview on #020506 background

This text has white color on #020506 background.