COLOR #0C1800

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

Color info

#0C1800 contains only red and green colors. Web safe color of #0C1800 is #000000 (or #000).

RGB color model

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

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

RGB channels and saturation

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

12
24
0

R + G + B ~ 5%. #0C1800 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 24 + 0 = 36 (100%)
R 12 of 36 ~ 33.33%
G 24 of 36 ~ 66.67%
B 0 of 36 ~ 0%

%33.33
%66.67

CMYK color model

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

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

CMYK percentages

%50
%0
%100
%90.59

Codes

Color #0C1800 in popluar color models

0C1800
RGB12240
HSL90°100.00%4.71%
HSB/HSV90°100.00%9.41%
CMYK50.00%0.00%100.00%
90.59%

Color #0C1800 in popluar number systems.

HEX0C1800
Decimal12240
Binary1100110000
Octal14300

Shades and tints

Shades of #0C1800

#0C1800
(12,24,0)
#0B1600
(11,22,0)
#0A1400
(10,20,0)
#091200
(9,18,0)
#081000
(8,16,0)
#070E00
(7,14,0)
#060C00
(6,12,0)
#050A00
(5,10,0)
#040800
(4,8,0)
#030600
(3,6,0)
#020400
(2,4,0)
#000000
(0,0,0)

Tints of #0C1800

#0C1800
(12,24,0)
#222D17
(34,45,23)
#38422E
(56,66,46)
#4E5745
(78,87,69)
#646C5C
(100,108,92)
#7A8173
(122,129,115)
#90968A
(144,150,138)
#A6ABA1
(166,171,161)
#BCC0B8
(188,192,184)
#D2D5CF
(210,213,207)
#E8EAE6
(232,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1800; }

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

This text font color is #0C1800.


Background Color

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

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

This div background color is #0C1800.


Border color

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

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

This div border color is #0C1800.


Opacity

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

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

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

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

This text has shadow with #0C1800 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1800 on black background.


Color preview on white background

This text has color #0C1800 on white background.



Black color preview on #0C1800 background

This text has black color on #0C1800 background.


White color preview on #0C1800 background

This text has white color on #0C1800 background.