COLOR #0C1F04

HEX: #0C1F04
RGB: (12,31,4)

Color info

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

RGB color model

#0C1F04 color RGB value is (12,31,4).

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

RGB channels and saturation

R 12 of 255 = 5%
G 31 of 255 = 12%
B 4 of 255 = 2%

12
31
4

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

Portions of RGB colors in percentages

R + G + B =
12 + 31 + 4 = 47 (100%)
R 12 of 47 ~ 25.53%
G 31 of 47 ~ 65.96%
B 4 of 47 ~ 8.51%

%25.53
%65.96

CMYK color model

#0C1F04 color CMYK value is (61,0,87,88).

  • cyan value is 61.29%
  • magenta value is 0.00%
  • yellow value is 87.10%
  • key color value is 87.84%
CMYK:
(61,0,87,88)
C61M0Y87K88 
(61%,0%,87%,88%)
(0.61/0.00/0.87/0.88)	

CMYK percentages

%61.29
%0
%87.1
%87.84

Codes

Color #0C1F04 in popluar color models

0C1F04
RGB12314
HSL102°77.14%6.86%
HSB/HSV102°87.10%12.16%
CMYK61.29%0.00%87.10%
87.84%

Color #0C1F04 in popluar number systems.

HEX0C1F04
Decimal12314
Binary110011111100
Octal14374

Shades and tints

Shades of #0C1F04

#0C1F04
(12,31,4)
#0B1D04
(11,29,4)
#0A1B04
(10,27,4)
#091904
(9,25,4)
#081704
(8,23,4)
#071504
(7,21,4)
#061304
(6,19,4)
#051104
(5,17,4)
#040F04
(4,15,4)
#030D04
(3,13,4)
#020B04
(2,11,4)
#000000
(0,0,0)

Tints of #0C1F04

#0C1F04
(12,31,4)
#22331A
(34,51,26)
#384730
(56,71,48)
#4E5B46
(78,91,70)
#646F5C
(100,111,92)
#7A8372
(122,131,114)
#909788
(144,151,136)
#A6AB9E
(166,171,158)
#BCBFB4
(188,191,180)
#D2D3CA
(210,211,202)
#E8E7E0
(232,231,224)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1F04; }

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

This text font color is #0C1F04.


Background Color

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

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

This div background color is #0C1F04.


Border color

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

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

This div border color is #0C1F04.


Opacity

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

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

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

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

This text has shadow with #0C1F04 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1F04 on black background.


Color preview on white background

This text has color #0C1F04 on white background.



Black color preview on #0C1F04 background

This text has black color on #0C1F04 background.


White color preview on #0C1F04 background

This text has white color on #0C1F04 background.