COLOR #0C1C0C

HEX: #0C1C0C
RGB: (12,28,12)

Color info

#0C1C0C contains red, green and blue colors in about the same proportion. Web safe color of #0C1C0C is #003300 (or #030).

RGB color model

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

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

RGB channels and saturation

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

12
28
12

R + G + B ~ 7%. #0C1C0C is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 28 + 12 = 52 (100%)
R 12 of 52 ~ 23.08%
G 28 of 52 ~ 53.85%
B 12 of 52 ~ 23.08%

%23.08
%53.85
%23.08

CMYK color model

#0C1C0C color CMYK value is (57,0,57,89).

  • cyan value is 57.14%
  • magenta value is 0.00%
  • yellow value is 57.14%
  • key color value is 89.02%
CMYK:
(57,0,57,89)
C57M0Y57K89 
(57%,0%,57%,89%)
(0.57/0.00/0.57/0.89)	

CMYK percentages

%57.14
%0
%57.14
%89.02

Codes

Color #0C1C0C in popluar color models

0C1C0C
RGB122812
HSL120°40.00%7.84%
HSB/HSV120°57.14%10.98%
CMYK57.14%0.00%57.14%
89.02%

Color #0C1C0C in popluar number systems.

HEX0C1C0C
Decimal122812
Binary1100111001100
Octal143414

Shades and tints

Shades of #0C1C0C

#0C1C0C
(12,28,12)
#0B1A0B
(11,26,11)
#0A180A
(10,24,10)
#091609
(9,22,9)
#081408
(8,20,8)
#071207
(7,18,7)
#061006
(6,16,6)
#050E05
(5,14,5)
#040C04
(4,12,4)
#030A03
(3,10,3)
#020802
(2,8,2)
#000000
(0,0,0)

Tints of #0C1C0C

#0C1C0C
(12,28,12)
#223022
(34,48,34)
#384438
(56,68,56)
#4E584E
(78,88,78)
#646C64
(100,108,100)
#7A807A
(122,128,122)
#909490
(144,148,144)
#A6A8A6
(166,168,166)
#BCBCBC
(188,188,188)
#D2D0D2
(210,208,210)
#E8E4E8
(232,228,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1C0C; }

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

This text font color is #0C1C0C.


Background Color

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

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

This div background color is #0C1C0C.


Border color

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

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

This div border color is #0C1C0C.


Opacity

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

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

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

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

This text has shadow with #0C1C0C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1C0C on black background.


Color preview on white background

This text has color #0C1C0C on white background.



Black color preview on #0C1C0C background

This text has black color on #0C1C0C background.


White color preview on #0C1C0C background

This text has white color on #0C1C0C background.