COLOR #0C041F

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

Color info

#0C041F contains red, green and blue colors in about the same proportion. Web safe color of #0C041F is #000033 (or #003).

RGB color model

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

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

RGB channels and saturation

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

12
4
31

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

Portions of RGB colors in percentages

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

%25.53
%65.96

CMYK color model

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

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

CMYK percentages

%61.29
%87.1
%0
%87.84

Codes

Color #0C041F in popluar color models

0C041F
RGB12431
HSL258°77.14%6.86%
HSB/HSV258°87.10%12.16%
CMYK61.29%87.10%0.00%
87.84%

Color #0C041F in popluar number systems.

HEX0C041F
Decimal12431
Binary110010011111
Octal14437

Shades and tints

Shades of #0C041F

#0C041F
(12,4,31)
#0B041D
(11,4,29)
#0A041B
(10,4,27)
#090419
(9,4,25)
#080417
(8,4,23)
#070415
(7,4,21)
#060413
(6,4,19)
#050411
(5,4,17)
#04040F
(4,4,15)
#03040D
(3,4,13)
#02040B
(2,4,11)
#000000
(0,0,0)

Tints of #0C041F

#0C041F
(12,4,31)
#221A33
(34,26,51)
#383047
(56,48,71)
#4E465B
(78,70,91)
#645C6F
(100,92,111)
#7A7283
(122,114,131)
#908897
(144,136,151)
#A69EAB
(166,158,171)
#BCB4BF
(188,180,191)
#D2CAD3
(210,202,211)
#E8E0E7
(232,224,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C041F; }

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

This text font color is #0C041F.


Background Color

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

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

This div background color is #0C041F.


Border color

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

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

This div border color is #0C041F.


Opacity

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

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

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

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

This text has shadow with #0C041F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C041F on black background.


Color preview on white background

This text has color #0C041F on white background.



Black color preview on #0C041F background

This text has black color on #0C041F background.


White color preview on #0C041F background

This text has white color on #0C041F background.