COLOR #0C0F1B

HEX: #0C0F1B
RGB: (12,15,27)

Color info

#0C0F1B contains red, green and blue colors in about the same proportion. Web safe color of #0C0F1B is #000033 (or #003).

RGB color model

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

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

RGB channels and saturation

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

12
15
27

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

Portions of RGB colors in percentages

R + G + B =
12 + 15 + 27 = 54 (100%)
R 12 of 54 ~ 22.22%
G 15 of 54 ~ 27.78%
B 27 of 54 ~ 50%

%22.22
%27.78
%50

CMYK color model

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

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

CMYK percentages

%55.56
%44.44
%0
%89.41

Codes

Color #0C0F1B in popluar color models

0C0F1B
RGB121527
HSL228°38.46%7.65%
HSB/HSV228°55.56%10.59%
CMYK55.56%44.44%0.00%
89.41%

Color #0C0F1B in popluar number systems.

HEX0C0F1B
Decimal121527
Binary1100111111011
Octal141733

Shades and tints

Shades of #0C0F1B

#0C0F1B
(12,15,27)
#0B0E19
(11,14,25)
#0A0D17
(10,13,23)
#090C15
(9,12,21)
#080B13
(8,11,19)
#070A11
(7,10,17)
#06090F
(6,9,15)
#05080D
(5,8,13)
#04070B
(4,7,11)
#030609
(3,6,9)
#020507
(2,5,7)
#000000
(0,0,0)

Tints of #0C0F1B

#0C0F1B
(12,15,27)
#22242F
(34,36,47)
#383943
(56,57,67)
#4E4E57
(78,78,87)
#64636B
(100,99,107)
#7A787F
(122,120,127)
#908D93
(144,141,147)
#A6A2A7
(166,162,167)
#BCB7BB
(188,183,187)
#D2CCCF
(210,204,207)
#E8E1E3
(232,225,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C0F1B; }

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

This text font color is #0C0F1B.


Background Color

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

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

This div background color is #0C0F1B.


Border color

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

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

This div border color is #0C0F1B.


Opacity

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

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

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

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

This text has shadow with #0C0F1B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C0F1B on black background.


Color preview on white background

This text has color #0C0F1B on white background.



Black color preview on #0C0F1B background

This text has black color on #0C0F1B background.


White color preview on #0C0F1B background

This text has white color on #0C0F1B background.