COLOR #0C0F1F

HEX: #0C0F1F
RGB: (12,15,31)

Color info

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

RGB color model

#0C0F1F color RGB value is (12,15,31).

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

RGB channels and saturation

R 12 of 255 = 5%
G 15 of 255 = 6%
B 31 of 255 = 12%

12
15
31

R + G + B ~ 8%. #0C0F1F is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 15 + 31 = 58 (100%)
R 12 of 58 ~ 20.69%
G 15 of 58 ~ 25.86%
B 31 of 58 ~ 53.45%

%20.69
%25.86
%53.45

CMYK color model

#0C0F1F color CMYK value is (61,52,0,88).

  • cyan value is 61.29%
  • magenta value is 51.61%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(61,52,0,88)
C61M52Y0K88 
(61%,52%,0%,88%)
(0.61/0.52/0.00/0.88)	

CMYK percentages

%61.29
%51.61
%0
%87.84

Codes

Color #0C0F1F in popluar color models

0C0F1F
RGB121531
HSL231°44.19%8.43%
HSB/HSV231°61.29%12.16%
CMYK61.29%51.61%0.00%
87.84%

Color #0C0F1F in popluar number systems.

HEX0C0F1F
Decimal121531
Binary1100111111111
Octal141737

Shades and tints

Shades of #0C0F1F

#0C0F1F
(12,15,31)
#0B0E1D
(11,14,29)
#0A0D1B
(10,13,27)
#090C19
(9,12,25)
#080B17
(8,11,23)
#070A15
(7,10,21)
#060913
(6,9,19)
#050811
(5,8,17)
#04070F
(4,7,15)
#03060D
(3,6,13)
#02050B
(2,5,11)
#000000
(0,0,0)

Tints of #0C0F1F

#0C0F1F
(12,15,31)
#222433
(34,36,51)
#383947
(56,57,71)
#4E4E5B
(78,78,91)
#64636F
(100,99,111)
#7A7883
(122,120,131)
#908D97
(144,141,151)
#A6A2AB
(166,162,171)
#BCB7BF
(188,183,191)
#D2CCD3
(210,204,211)
#E8E1E7
(232,225,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C0F1F; }

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

This text font color is #0C0F1F.


Background Color

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

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

This div background color is #0C0F1F.


Border color

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

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

This div border color is #0C0F1F.


Opacity

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

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

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

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

This text has shadow with #0C0F1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C0F1F on black background.


Color preview on white background

This text has color #0C0F1F on white background.



Black color preview on #0C0F1F background

This text has black color on #0C0F1F background.


White color preview on #0C0F1F background

This text has white color on #0C0F1F background.