COLOR #020C15

HEX: #020C15
RGB: (2,12,21)

Color info

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

RGB color model

#020C15 color RGB value is (2,12,21).

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

RGB channels and saturation

R 2 of 255 = 1%
G 12 of 255 = 5%
B 21 of 255 = 8%

2
12
21

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

Portions of RGB colors in percentages

R + G + B =
2 + 12 + 21 = 35 (100%)
R 2 of 35 ~ 5.71%
G 12 of 35 ~ 34.29%
B 21 of 35 ~ 60%

%34.29
%60

CMYK color model

#020C15 color CMYK value is (90,43,0,92).

  • cyan value is 90.48%
  • magenta value is 42.86%
  • yellow value is 0.00%
  • key color value is 91.76%
CMYK:
(90,43,0,92)
C90M43Y0K92 
(90%,43%,0%,92%)
(0.90/0.43/0.00/0.92)	

CMYK percentages

%90.48
%42.86
%0
%91.76

Codes

Color #020C15 in popluar color models

020C15
RGB21221
HSL208°82.61%4.51%
HSB/HSV208°90.48%8.24%
CMYK90.48%42.86%0.00%
91.76%

Color #020C15 in popluar number systems.

HEX020C15
Decimal21221
Binary10110010101
Octal21425

Shades and tints

Shades of #020C15

#020C15
(2,12,21)
#020B14
(2,11,20)
#020A13
(2,10,19)
#020912
(2,9,18)
#020811
(2,8,17)
#020710
(2,7,16)
#02060F
(2,6,15)
#02050E
(2,5,14)
#02040D
(2,4,13)
#02030C
(2,3,12)
#02020B
(2,2,11)
#000000
(0,0,0)

Tints of #020C15

#020C15
(2,12,21)
#19222A
(25,34,42)
#30383F
(48,56,63)
#474E54
(71,78,84)
#5E6469
(94,100,105)
#757A7E
(117,122,126)
#8C9093
(140,144,147)
#A3A6A8
(163,166,168)
#BABCBD
(186,188,189)
#D1D2D2
(209,210,210)
#E8E8E7
(232,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #020C15; }

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

This text font color is #020C15.


Background Color

.myBgColor { background-color: #020C15; }

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

This div background color is #020C15.


Border color

.myBorderColor { border: 1px solid #020C15; }

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

This div border color is #020C15.


Opacity

.myOpacity80 { color: #020C15; opacity: 0.8; }

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

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

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

This text has shadow with #020C15 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #020C15 on black background.


Color preview on white background

This text has color #020C15 on white background.



Black color preview on #020C15 background

This text has black color on #020C15 background.


White color preview on #020C15 background

This text has white color on #020C15 background.