COLOR #021B15

HEX: #021B15
RGB: (2,27,21)

Color info

#021B15 contains red, green and blue colors in about the same proportion. Web safe color of #021B15 is #003300 (or #030).

RGB color model

#021B15 color RGB value is (2,27,21).

  • red value is 2;
  • green value is 27;
  • blue value is 21.
RGB:
(2,27,21)
(1%,11%,8%)

RGB channels and saturation

R 2 of 255 = 1%
G 27 of 255 = 11%
B 21 of 255 = 8%

2
27
21

R + G + B ~ 7%. #021B15 is dark color.

Portions of RGB colors in percentages

R + G + B =
2 + 27 + 21 = 50 (100%)
R 2 of 50 ~ 4%
G 27 of 50 ~ 54%
B 21 of 50 ~ 42%

%54
%42

CMYK color model

#021B15 color CMYK value is (93,0,22,89).

  • cyan value is 92.59%
  • magenta value is 0.00%
  • yellow value is 22.22%
  • key color value is 89.41%
CMYK:
(93,0,22,89)
C93M0Y22K89 
(93%,0%,22%,89%)
(0.93/0.00/0.22/0.89)	

CMYK percentages

%92.59
%0
%22.22
%89.41

Codes

Color #021B15 in popluar color models

021B15
RGB22721
HSL166°86.21%5.69%
HSB/HSV166°92.59%10.59%
CMYK92.59%0.00%22.22%
89.41%

Color #021B15 in popluar number systems.

HEX021B15
Decimal22721
Binary101101110101
Octal23325

Shades and tints

Shades of #021B15

#021B15
(2,27,21)
#021914
(2,25,20)
#021713
(2,23,19)
#021512
(2,21,18)
#021311
(2,19,17)
#021110
(2,17,16)
#020F0F
(2,15,15)
#020D0E
(2,13,14)
#020B0D
(2,11,13)
#02090C
(2,9,12)
#02070B
(2,7,11)
#000000
(0,0,0)

Tints of #021B15

#021B15
(2,27,21)
#192F2A
(25,47,42)
#30433F
(48,67,63)
#475754
(71,87,84)
#5E6B69
(94,107,105)
#757F7E
(117,127,126)
#8C9393
(140,147,147)
#A3A7A8
(163,167,168)
#BABBBD
(186,187,189)
#D1CFD2
(209,207,210)
#E8E3E7
(232,227,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #021B15 color. Also use rgb(2,27,21) instead hex code.

Text Font Color

.myTextColor { color: #021B15; }

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

This text font color is #021B15.


Background Color

.myBgColor { background-color: #021B15; }

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

This div background color is #021B15.


Border color

.myBorderColor { border: 1px solid #021B15; }

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

This div border color is #021B15.


Opacity

.myOpacity80 { color: #021B15; opacity: 0.8; }

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

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

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

This text has shadow with #021B15 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #021B15 on black background.


Color preview on white background

This text has color #021B15 on white background.



Black color preview on #021B15 background

This text has black color on #021B15 background.


White color preview on #021B15 background

This text has white color on #021B15 background.