COLOR #0C1F18

HEX: #0C1F18
RGB: (12,31,24)

Color info

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

RGB color model

#0C1F18 color RGB value is (12,31,24).

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

RGB channels and saturation

R 12 of 255 = 5%
G 31 of 255 = 12%
B 24 of 255 = 9%

12
31
24

R + G + B ~ 9%. #0C1F18 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 31 + 24 = 67 (100%)
R 12 of 67 ~ 17.91%
G 31 of 67 ~ 46.27%
B 24 of 67 ~ 35.82%

%17.91
%46.27
%35.82

CMYK color model

#0C1F18 color CMYK value is (61,0,23,88).

  • cyan value is 61.29%
  • magenta value is 0.00%
  • yellow value is 22.58%
  • key color value is 87.84%
CMYK:
(61,0,23,88)
C61M0Y23K88 
(61%,0%,23%,88%)
(0.61/0.00/0.23/0.88)	

CMYK percentages

%61.29
%0
%22.58
%87.84

Codes

Color #0C1F18 in popluar color models

0C1F18
RGB123124
HSL158°44.19%8.43%
HSB/HSV158°61.29%12.16%
CMYK61.29%0.00%22.58%
87.84%

Color #0C1F18 in popluar number systems.

HEX0C1F18
Decimal123124
Binary11001111111000
Octal143730

Shades and tints

Shades of #0C1F18

#0C1F18
(12,31,24)
#0B1D16
(11,29,22)
#0A1B14
(10,27,20)
#091912
(9,25,18)
#081710
(8,23,16)
#07150E
(7,21,14)
#06130C
(6,19,12)
#05110A
(5,17,10)
#040F08
(4,15,8)
#030D06
(3,13,6)
#020B04
(2,11,4)
#000000
(0,0,0)

Tints of #0C1F18

#0C1F18
(12,31,24)
#22332D
(34,51,45)
#384742
(56,71,66)
#4E5B57
(78,91,87)
#646F6C
(100,111,108)
#7A8381
(122,131,129)
#909796
(144,151,150)
#A6ABAB
(166,171,171)
#BCBFC0
(188,191,192)
#D2D3D5
(210,211,213)
#E8E7EA
(232,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1F18; }

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

This text font color is #0C1F18.


Background Color

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

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

This div background color is #0C1F18.


Border color

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

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

This div border color is #0C1F18.


Opacity

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

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

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

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

This text has shadow with #0C1F18 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1F18 on black background.


Color preview on white background

This text has color #0C1F18 on white background.



Black color preview on #0C1F18 background

This text has black color on #0C1F18 background.


White color preview on #0C1F18 background

This text has white color on #0C1F18 background.