COLOR #0C1808

HEX: #0C1808 RGB: (12,24,8)

Color info

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

RGB color model

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

RGB: (12,24,8) (5%, 9%, 3%)

RGB channels and saturation

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

12
24
8

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

Portions of RGB colors in percentages

R + G + B = 12 + 24 + 8 = 44 (100%)
R 12 of 44 ~ 27.27%
G 24 of 44 ~ 54.55%
B 8 of 44 ~ 18.18'%

%27.27
%54.55
%18.18

CMYK color model

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

  • cyan value is 50.00%
  • magenta value is 0.00%
  • yellow value is 66.67%
  • key color value is 90.59%

CMYK: (50,0,67,91)
C50M0Y67K91 (50%, 0%, 67%, 91%)
(0.50 / 0.00 / 0.67 / 0.91)

CMYK percentages

%50
%0
%66.67
%90.59

Codes

Color #0C1808 in popluar color models

0C 18 08
RGB 12 24 8
HSL 105° 50.00% 6.27%
HSB/HSV 105° 66.67% 9.41%
CMYK 50.00% 0.00% 66.67%
90.59%

Color #0C1808 in popluar number systems.

HEX 0C 18 08
Decimal 12 24 8
Binary 1100 11000 1000
Octal 14 30 10

Shades and tints

Shades of #0C1808

#0C1808
(12,24,8)
#0B1608
(11,22,8)
#0A1408
(10,20,8)
#091208
(9,18,8)
#081008
(8,16,8)
#070E08
(7,14,8)
#060C08
(6,12,8)
#050A08
(5,10,8)
#040808
(4,8,8)
#030608
(3,6,8)
#020408
(2,4,8)
#000000
(0,0,0)

Tints of #0C1808

#0C1808
(12,24,8)
#222D1E
(34,45,30)
#384234
(56,66,52)
#4E574A
(78,87,74)
#646C60
(100,108,96)
#7A8176
(122,129,118)
#90968C
(144,150,140)
#A6ABA2
(166,171,162)
#BCC0B8
(188,192,184)
#D2D5CE
(210,213,206)
#E8EAE4
(232,234,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1808; }

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

This text font color is #0C1808.

Background Color

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

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

This div background color is #0C1808.

Border color

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

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

This div border color is #0C1808.

Opacity

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

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

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

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

This text has shadow with #0C1808 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C1808.

Preview

Color preview on black background

This text has color #0C1808 on black background.


Color preview on white background

This text has color #0C1808 on white background.


Black color preview on #0C1808 background

This text has black color on #0C1808 background.


White color preview on #0C1808 background

This text has white color on #0C1808 background.


Related colors

Complementary color

Complementary color for #hex is #F3E7F7.


I love getcolorcode.com

Triadic colors

1 #080C18 and #18080C with #0C1808 are triadic colors.

2 #08180C and #180C08 with #0C1808 are triadic colors.