COLOR #0C1817

HEX: #0C1817
RGB: (12,24,23)

Color info

#0C1817 contains red, green and blue colors in about the same proportion. Web safe color of #0C1817 is #000000 (or #000).

RGB color model

#0C1817 color RGB value is (12,24,23).

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

RGB channels and saturation

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

12
24
23

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

Portions of RGB colors in percentages

R + G + B =
12 + 24 + 23 = 59 (100%)
R 12 of 59 ~ 20.34%
G 24 of 59 ~ 40.68%
B 23 of 59 ~ 38.98%

%20.34
%40.68
%38.98

CMYK color model

#0C1817 color CMYK value is (50,0,4,91).

  • cyan value is 50.00%
  • magenta value is 0.00%
  • yellow value is 4.17%
  • key color value is 90.59%
CMYK:
(50,0,4,91)
C50M0Y4K91 
(50%,0%,4%,91%)
(0.50/0.00/0.04/0.91)	

CMYK percentages

%50
%0
%4.17
%90.59

Codes

Color #0C1817 in popluar color models

0C1817
RGB122423
HSL175°33.33%7.06%
HSB/HSV175°50.00%9.41%
CMYK50.00%0.00%4.17%
90.59%

Color #0C1817 in popluar number systems.

HEX0C1817
Decimal122423
Binary11001100010111
Octal143027

Shades and tints

Shades of #0C1817

#0C1817
(12,24,23)
#0B1615
(11,22,21)
#0A1413
(10,20,19)
#091211
(9,18,17)
#08100F
(8,16,15)
#070E0D
(7,14,13)
#060C0B
(6,12,11)
#050A09
(5,10,9)
#040807
(4,8,7)
#030605
(3,6,5)
#020403
(2,4,3)
#000000
(0,0,0)

Tints of #0C1817

#0C1817
(12,24,23)
#222D2C
(34,45,44)
#384241
(56,66,65)
#4E5756
(78,87,86)
#646C6B
(100,108,107)
#7A8180
(122,129,128)
#909695
(144,150,149)
#A6ABAA
(166,171,170)
#BCC0BF
(188,192,191)
#D2D5D4
(210,213,212)
#E8EAE9
(232,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1817; }

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

This text font color is #0C1817.


Background Color

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

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

This div background color is #0C1817.


Border color

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

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

This div border color is #0C1817.


Opacity

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

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

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

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

This text has shadow with #0C1817 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1817 on black background.


Color preview on white background

This text has color #0C1817 on white background.



Black color preview on #0C1817 background

This text has black color on #0C1817 background.


White color preview on #0C1817 background

This text has white color on #0C1817 background.