COLOR #021215

HEX: #021215 RGB: (2,18,21)

Color info

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

RGB color model

#021215 color RGB value is (2,18,21).

RGB: (2,18,21) (1%, 7%, 8%)

RGB channels and saturation

R 2 of 255 = 1%
G 18 of 255 = 7%
B 21 of 255 = 8%

2
18
21

R + G + B ~ 5%. #021215 is dark color.

Portions of RGB colors in percentages

R + G + B = 2 + 18 + 21 = 41 (100%)
R 2 of 41 ~ 4.88%
G 18 of 41 ~ 43.9%
B 21 of 41 ~ 51.22'%

%43.9
%51.22

CMYK color model

#021215 color CMYK value is (90,14,0,92).

  • cyan value is 90.48%
  • magenta value is 14.29%
  • yellow value is 0.00%
  • key color value is 91.76%
CMYK: (90,14,0,92) C90M14Y0K92 (90%,14%,0%,92%) (0.90/0.14/0.00/0.92) 

CMYK percentages

%90.48
%14.29
%0
%91.76

Codes

Color #021215 in popluar color models

02 12 15
RGB 2 18 21
HSL 189° 82.61% 4.51%
HSB/HSV 189° 90.48% 8.24%
CMYK 90.48% 14.29% 0.00%
91.76%

Color #021215 in popluar number systems.

HEX 02 12 15
Decimal 2 18 21
Binary 10 10010 10101
Octal 2 22 25

Shades and tints

Shades of #021215

#021215
(2,18,21)
#021114
(2,17,20)
#021013
(2,16,19)
#020F12
(2,15,18)
#020E11
(2,14,17)
#020D10
(2,13,16)
#020C0F
(2,12,15)
#020B0E
(2,11,14)
#020A0D
(2,10,13)
#02090C
(2,9,12)
#02080B
(2,8,11)
#000000
(0,0,0)

Tints of #021215

#021215
(2,18,21)
#19272A
(25,39,42)
#303C3F
(48,60,63)
#475154
(71,81,84)
#5E6669
(94,102,105)
#757B7E
(117,123,126)
#8C9093
(140,144,147)
#A3A5A8
(163,165,168)
#BABABD
(186,186,189)
#D1CFD2
(209,207,210)
#E8E4E7
(232,228,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #021215; }

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

This text font color is #021215.

Background Color

.myBgColor { background-color: #021215; }

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

This div background color is #021215.

Border color

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

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

This div border color is #021215.

Opacity

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

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

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

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

This text has shadow with #021215 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #021215.

Preview

Color preview on black background

This text has color #021215 on black background.


Color preview on white background

This text has color #021215 on white background.


Black color preview on #021215 background

This text has black color on #021215 background.


White color preview on #021215 background

This text has white color on #021215 background.


Related colors

Complementary color

Complementary color for #hex is #FDEDEA.


I love getcolorcode.com

Triadic colors

1 #150212 and #121502 with #021215 are triadic colors.

2 #151202 and #120215 with #021215 are triadic colors.