COLOR #0C0C18

HEX: #0C0C18
RGB: (12,12,24)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

12
12
24

R + G + B ~ 6%. #0C0C18 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 12 + 24 = 48 (100%)
R 12 of 48 ~ 25%
G 12 of 48 ~ 25%
B 24 of 48 ~ 50%

%25
%25
%50

CMYK color model

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

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

CMYK percentages

%50
%50
%0
%90.59

Codes

Color #0C0C18 in popluar color models

0C0C18
RGB121224
HSL240°33.33%7.06%
HSB/HSV240°50.00%9.41%
CMYK50.00%50.00%0.00%
90.59%

Color #0C0C18 in popluar number systems.

HEX0C0C18
Decimal121224
Binary1100110011000
Octal141430

Shades and tints

Shades of #0C0C18

#0C0C18
(12,12,24)
#0B0B16
(11,11,22)
#0A0A14
(10,10,20)
#090912
(9,9,18)
#080810
(8,8,16)
#07070E
(7,7,14)
#06060C
(6,6,12)
#05050A
(5,5,10)
#040408
(4,4,8)
#030306
(3,3,6)
#020204
(2,2,4)
#000000
(0,0,0)

Tints of #0C0C18

#0C0C18
(12,12,24)
#22222D
(34,34,45)
#383842
(56,56,66)
#4E4E57
(78,78,87)
#64646C
(100,100,108)
#7A7A81
(122,122,129)
#909096
(144,144,150)
#A6A6AB
(166,166,171)
#BCBCC0
(188,188,192)
#D2D2D5
(210,210,213)
#E8E8EA
(232,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C0C18; }

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

This text font color is #0C0C18.


Background Color

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

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

This div background color is #0C0C18.


Border color

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

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

This div border color is #0C0C18.


Opacity

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

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

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

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

This text has shadow with #0C0C18 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C0C18 on black background.


Color preview on white background

This text has color #0C0C18 on white background.



Black color preview on #0C0C18 background

This text has black color on #0C0C18 background.


White color preview on #0C0C18 background

This text has white color on #0C0C18 background.