COLOR #0C211C

HEX: #0C211C RGB: (12,33,28)

Color info

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

RGB color model

#0C211C color RGB value is (12,33,28).

RGB: (12,33,28) (5%, 13%, 11%)

RGB channels and saturation

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

12
33
28

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

Portions of RGB colors in percentages

R + G + B = 12 + 33 + 28 = 73 (100%)
R 12 of 73 ~ 16.44%
G 33 of 73 ~ 45.21%
B 28 of 73 ~ 38.36'%

%16.44
%45.21
%38.36

CMYK color model

#0C211C color CMYK value is (64,0,15,87).

  • cyan value is 63.64%
  • magenta value is 0.00%
  • yellow value is 15.15%
  • key color value is 87.06%

CMYK: (64,0,15,87)
C64M0Y15K87 (64%, 0%, 15%, 87%)
(0.64 / 0.00 / 0.15 / 0.87)

CMYK percentages

%63.64
%0
%15.15
%87.06

Codes

Color #0C211C in popluar color models

0C 21 1C
RGB 12 33 28
HSL 166° 46.67% 8.82%
HSB/HSV 166° 63.64% 12.94%
CMYK 63.64% 0.00% 15.15%
87.06%

Color #0C211C in popluar number systems.

HEX 0C 21 1C
Decimal 12 33 28
Binary 1100 100001 11100
Octal 14 41 34

Shades and tints

Shades of #0C211C

#0C211C
(12,33,28)
#0B1E1A
(11,30,26)
#0A1B18
(10,27,24)
#091816
(9,24,22)
#081514
(8,21,20)
#071212
(7,18,18)
#060F10
(6,15,16)
#050C0E
(5,12,14)
#04090C
(4,9,12)
#03060A
(3,6,10)
#020308
(2,3,8)
#000000
(0,0,0)

Tints of #0C211C

#0C211C
(12,33,28)
#223530
(34,53,48)
#384944
(56,73,68)
#4E5D58
(78,93,88)
#64716C
(100,113,108)
#7A8580
(122,133,128)
#909994
(144,153,148)
#A6ADA8
(166,173,168)
#BCC1BC
(188,193,188)
#D2D5D0
(210,213,208)
#E8E9E4
(232,233,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C211C; }

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

This text font color is #0C211C.

Background Color

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

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

This div background color is #0C211C.

Border color

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

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

This div border color is #0C211C.

Opacity

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

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

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

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

This text has shadow with #0C211C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C211C.

Preview

Color preview on black background

This text has color #0C211C on black background.


Color preview on white background

This text has color #0C211C on white background.


Black color preview on #0C211C background

This text has black color on #0C211C background.


White color preview on #0C211C background

This text has white color on #0C211C background.


Related colors

Complementary color

Complementary color for #hex is #F3DEE3.


I love getcolorcode.com

Triadic colors

1 #1C0C21 and #211C0C with #0C211C are triadic colors.

2 #1C210C and #210C1C with #0C211C are triadic colors.