COLOR #020C0C

HEX: #020C0C RGB: (2,12,12)

Color info

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

RGB color model

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

RGB: (2,12,12) (1%, 5%, 5%)

RGB channels and saturation

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

2
12
12

R + G + B ~ 4%. #020C0C is dark color.

Portions of RGB colors in percentages

R + G + B = 2 + 12 + 12 = 26 (100%)
R 2 of 26 ~ 7.69%
G 12 of 26 ~ 46.15%
B 12 of 26 ~ 46.15'%

%46.15
%46.15

CMYK color model

#020C0C color CMYK value is (83,0,0,95).

  • cyan value is 83.33%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 95.29%

CMYK: (83,0,0,95)
C83M0Y0K95 (83%, 0%, 0%, 95%)
(0.83 / 0.00 / 0.00 / 0.95)

CMYK percentages

%83.33
%0
%0
%95.29

Codes

Color #020C0C in popluar color models

02 0C 0C
RGB 2 12 12
HSL 180° 71.43% 2.75%
HSB/HSV 180° 83.33% 4.71%
CMYK 83.33% 0.00% 0.00%
95.29%

Color #020C0C in popluar number systems.

HEX 02 0C 0C
Decimal 2 12 12
Binary 10 1100 1100
Octal 2 14 14

Shades and tints

Shades of #020C0C

#020C0C
(2,12,12)
#020B0B
(2,11,11)
#020A0A
(2,10,10)
#020909
(2,9,9)
#020808
(2,8,8)
#020707
(2,7,7)
#020606
(2,6,6)
#020505
(2,5,5)
#020404
(2,4,4)
#020303
(2,3,3)
#020202
(2,2,2)
#000000
(0,0,0)

Tints of #020C0C

#020C0C
(2,12,12)
#192222
(25,34,34)
#303838
(48,56,56)
#474E4E
(71,78,78)
#5E6464
(94,100,100)
#757A7A
(117,122,122)
#8C9090
(140,144,144)
#A3A6A6
(163,166,166)
#BABCBC
(186,188,188)
#D1D2D2
(209,210,210)
#E8E8E8
(232,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #020C0C; }

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

This text font color is #020C0C.

Background Color

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

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

This div background color is #020C0C.

Border color

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

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

This div border color is #020C0C.

Opacity

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

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

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

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

This text has shadow with #020C0C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #020C0C.

Preview

Color preview on black background

This text has color #020C0C on black background.


Color preview on white background

This text has color #020C0C on white background.


Black color preview on #020C0C background

This text has black color on #020C0C background.


White color preview on #020C0C background

This text has white color on #020C0C background.


Related colors

Complementary color

Complementary color for #hex is #FDF3F3.


I love getcolorcode.com