COLOR #0C201C

HEX: #0C201C
RGB: (12,32,28)

Color info

#0C201C contains red, green and blue colors in about the same proportion. Web safe color of #0C201C is #003333 (or #033).

RGB color model

#0C201C color RGB value is (12,32,28).

  • red value is 12;
  • green value is 32;
  • blue value is 28.
RGB:
(12,32,28)
(5%,13%,11%)

RGB channels and saturation

R 12 of 255 = 5%
G 32 of 255 = 13%
B 28 of 255 = 11%

12
32
28

R + G + B ~ 10%. #0C201C is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 32 + 28 = 72 (100%)
R 12 of 72 ~ 16.67%
G 32 of 72 ~ 44.44%
B 28 of 72 ~ 38.89%

%16.67
%44.44
%38.89

CMYK color model

#0C201C color CMYK value is (63,0,13,87).

  • cyan value is 62.50%
  • magenta value is 0.00%
  • yellow value is 12.50%
  • key color value is 87.45%
CMYK:
(63,0,13,87)
C63M0Y13K87 
(63%,0%,13%,87%)
(0.63/0.00/0.13/0.87)	

CMYK percentages

%62.5
%0
%12.5
%87.45

Codes

Color #0C201C in popluar color models

0C201C
RGB123228
HSL168°45.45%8.63%
HSB/HSV168°62.50%12.55%
CMYK62.50%0.00%12.50%
87.45%

Color #0C201C in popluar number systems.

HEX0C201C
Decimal123228
Binary110010000011100
Octal144034

Shades and tints

Shades of #0C201C

#0C201C
(12,32,28)
#0B1E1A
(11,30,26)
#0A1C18
(10,28,24)
#091A16
(9,26,22)
#081814
(8,24,20)
#071612
(7,22,18)
#061410
(6,20,16)
#05120E
(5,18,14)
#04100C
(4,16,12)
#030E0A
(3,14,10)
#020C08
(2,12,8)
#000000
(0,0,0)

Tints of #0C201C

#0C201C
(12,32,28)
#223430
(34,52,48)
#384844
(56,72,68)
#4E5C58
(78,92,88)
#64706C
(100,112,108)
#7A8480
(122,132,128)
#909894
(144,152,148)
#A6ACA8
(166,172,168)
#BCC0BC
(188,192,188)
#D2D4D0
(210,212,208)
#E8E8E4
(232,232,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C201C color. Also use rgb(12,32,28) instead hex code.

Text Font Color

.myTextColor { color: #0C201C; }

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

This text font color is #0C201C.


Background Color

.myBgColor { background-color: #0C201C; }

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

This div background color is #0C201C.


Border color

.myBorderColor { border: 1px solid #0C201C; }

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

This div border color is #0C201C.


Opacity

.myOpacity80 { color: #0C201C; opacity: 0.8; }

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

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

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

This text has shadow with #0C201C color.

.textShadow {text-shadow: 3px 3px 1px #0C201C, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C201C on black background.


Color preview on white background

This text has color #0C201C on white background.



Black color preview on #0C201C background

This text has black color on #0C201C background.


White color preview on #0C201C background

This text has white color on #0C201C background.