COLOR #02120C

HEX: #02120C
RGB: (2,18,12)

Color info

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

RGB color model

#02120C color RGB value is (2,18,12).

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

RGB channels and saturation

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

2
18
12

R + G + B ~ 4%. #02120C is dark color.

Portions of RGB colors in percentages

R + G + B =
2 + 18 + 12 = 32 (100%)
R 2 of 32 ~ 6.25%
G 18 of 32 ~ 56.25%
B 12 of 32 ~ 37.5%

%56.25
%37.5

CMYK color model

#02120C color CMYK value is (89,0,33,93).

  • cyan value is 88.89%
  • magenta value is 0.00%
  • yellow value is 33.33%
  • key color value is 92.94%
CMYK:
(89,0,33,93)
C89M0Y33K93 
(89%,0%,33%,93%)
(0.89/0.00/0.33/0.93)	

CMYK percentages

%88.89
%0
%33.33
%92.94

Codes

Color #02120C in popluar color models

02120C
RGB21812
HSL158°80.00%3.92%
HSB/HSV158°88.89%7.06%
CMYK88.89%0.00%33.33%
92.94%

Color #02120C in popluar number systems.

HEX02120C
Decimal21812
Binary10100101100
Octal22214

Shades and tints

Shades of #02120C

#02120C
(2,18,12)
#02110B
(2,17,11)
#02100A
(2,16,10)
#020F09
(2,15,9)
#020E08
(2,14,8)
#020D07
(2,13,7)
#020C06
(2,12,6)
#020B05
(2,11,5)
#020A04
(2,10,4)
#020903
(2,9,3)
#020802
(2,8,2)
#000000
(0,0,0)

Tints of #02120C

#02120C
(2,18,12)
#192722
(25,39,34)
#303C38
(48,60,56)
#47514E
(71,81,78)
#5E6664
(94,102,100)
#757B7A
(117,123,122)
#8C9090
(140,144,144)
#A3A5A6
(163,165,166)
#BABABC
(186,186,188)
#D1CFD2
(209,207,210)
#E8E4E8
(232,228,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #02120C; }

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

This text font color is #02120C.


Background Color

.myBgColor { background-color: #02120C; }

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

This div background color is #02120C.


Border color

.myBorderColor { border: 1px solid #02120C; }

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

This div border color is #02120C.


Opacity

.myOpacity80 { color: #02120C; opacity: 0.8; }

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

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

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

This text has shadow with #02120C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #02120C on black background.


Color preview on white background

This text has color #02120C on white background.



Black color preview on #02120C background

This text has black color on #02120C background.


White color preview on #02120C background

This text has white color on #02120C background.