COLOR #0C0F2F

HEX: #0C0F2F
RGB: (12,15,47)

Color info

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

RGB color model

#0C0F2F color RGB value is (12,15,47).

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

RGB channels and saturation

R 12 of 255 = 5%
G 15 of 255 = 6%
B 47 of 255 = 18%

12
15
47

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

Portions of RGB colors in percentages

R + G + B =
12 + 15 + 47 = 74 (100%)
R 12 of 74 ~ 16.22%
G 15 of 74 ~ 20.27%
B 47 of 74 ~ 63.51%

%16.22
%20.27
%63.51

CMYK color model

#0C0F2F color CMYK value is (74,68,0,82).

  • cyan value is 74.47%
  • magenta value is 68.09%
  • yellow value is 0.00%
  • key color value is 81.57%
CMYK:
(74,68,0,82)
C74M68Y0K82 
(74%,68%,0%,82%)
(0.74/0.68/0.00/0.82)	

CMYK percentages

%74.47
%68.09
%0
%81.57

Codes

Color #0C0F2F in popluar color models

0C0F2F
RGB121547
HSL235°59.32%11.57%
HSB/HSV235°74.47%18.43%
CMYK74.47%68.09%0.00%
81.57%

Color #0C0F2F in popluar number systems.

HEX0C0F2F
Decimal121547
Binary11001111101111
Octal141757

Shades and tints

Shades of #0C0F2F

#0C0F2F
(12,15,47)
#0B0E2B
(11,14,43)
#0A0D27
(10,13,39)
#090C23
(9,12,35)
#080B1F
(8,11,31)
#070A1B
(7,10,27)
#060917
(6,9,23)
#050813
(5,8,19)
#04070F
(4,7,15)
#03060B
(3,6,11)
#020507
(2,5,7)
#000000
(0,0,0)

Tints of #0C0F2F

#0C0F2F
(12,15,47)
#222441
(34,36,65)
#383953
(56,57,83)
#4E4E65
(78,78,101)
#646377
(100,99,119)
#7A7889
(122,120,137)
#908D9B
(144,141,155)
#A6A2AD
(166,162,173)
#BCB7BF
(188,183,191)
#D2CCD1
(210,204,209)
#E8E1E3
(232,225,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C0F2F; }

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

This text font color is #0C0F2F.


Background Color

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

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

This div background color is #0C0F2F.


Border color

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

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

This div border color is #0C0F2F.


Opacity

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

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

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

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

This text has shadow with #0C0F2F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C0F2F on black background.


Color preview on white background

This text has color #0C0F2F on white background.



Black color preview on #0C0F2F background

This text has black color on #0C0F2F background.


White color preview on #0C0F2F background

This text has white color on #0C0F2F background.