COLOR #0C1B0C

HEX: #0C1B0C
RGB: (12,27,12)

Color info

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

RGB color model

#0C1B0C color RGB value is (12,27,12).

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

RGB channels and saturation

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

12
27
12

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

Portions of RGB colors in percentages

R + G + B =
12 + 27 + 12 = 51 (100%)
R 12 of 51 ~ 23.53%
G 27 of 51 ~ 52.94%
B 12 of 51 ~ 23.53%

%23.53
%52.94
%23.53

CMYK color model

#0C1B0C color CMYK value is (56,0,56,89).

  • cyan value is 55.56%
  • magenta value is 0.00%
  • yellow value is 55.56%
  • key color value is 89.41%
CMYK:
(56,0,56,89)
C56M0Y56K89 
(56%,0%,56%,89%)
(0.56/0.00/0.56/0.89)	

CMYK percentages

%55.56
%0
%55.56
%89.41

Codes

Color #0C1B0C in popluar color models

0C1B0C
RGB122712
HSL120°38.46%7.65%
HSB/HSV120°55.56%10.59%
CMYK55.56%0.00%55.56%
89.41%

Color #0C1B0C in popluar number systems.

HEX0C1B0C
Decimal122712
Binary1100110111100
Octal143314

Shades and tints

Shades of #0C1B0C

#0C1B0C
(12,27,12)
#0B190B
(11,25,11)
#0A170A
(10,23,10)
#091509
(9,21,9)
#081308
(8,19,8)
#071107
(7,17,7)
#060F06
(6,15,6)
#050D05
(5,13,5)
#040B04
(4,11,4)
#030903
(3,9,3)
#020702
(2,7,2)
#000000
(0,0,0)

Tints of #0C1B0C

#0C1B0C
(12,27,12)
#222F22
(34,47,34)
#384338
(56,67,56)
#4E574E
(78,87,78)
#646B64
(100,107,100)
#7A7F7A
(122,127,122)
#909390
(144,147,144)
#A6A7A6
(166,167,166)
#BCBBBC
(188,187,188)
#D2CFD2
(210,207,210)
#E8E3E8
(232,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1B0C; }

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

This text font color is #0C1B0C.


Background Color

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

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

This div background color is #0C1B0C.


Border color

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

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

This div border color is #0C1B0C.


Opacity

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

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

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

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

This text has shadow with #0C1B0C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1B0C on black background.


Color preview on white background

This text has color #0C1B0C on white background.



Black color preview on #0C1B0C background

This text has black color on #0C1B0C background.


White color preview on #0C1B0C background

This text has white color on #0C1B0C background.