COLOR #0C041E

HEX: #0C041E
RGB: (12,4,30)

Color info

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

RGB color model

#0C041E color RGB value is (12,4,30).

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

RGB channels and saturation

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

12
4
30

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

Portions of RGB colors in percentages

R + G + B =
12 + 4 + 30 = 46 (100%)
R 12 of 46 ~ 26.09%
G 4 of 46 ~ 8.7%
B 30 of 46 ~ 65.22%

%26.09
%65.22

CMYK color model

#0C041E color CMYK value is (60,87,0,88).

  • cyan value is 60.00%
  • magenta value is 86.67%
  • yellow value is 0.00%
  • key color value is 88.24%
CMYK:
(60,87,0,88)
C60M87Y0K88 
(60%,87%,0%,88%)
(0.60/0.87/0.00/0.88)	

CMYK percentages

%60
%86.67
%0
%88.24

Codes

Color #0C041E in popluar color models

0C041E
RGB12430
HSL258°76.47%6.67%
HSB/HSV258°86.67%11.76%
CMYK60.00%86.67%0.00%
88.24%

Color #0C041E in popluar number systems.

HEX0C041E
Decimal12430
Binary110010011110
Octal14436

Shades and tints

Shades of #0C041E

#0C041E
(12,4,30)
#0B041C
(11,4,28)
#0A041A
(10,4,26)
#090418
(9,4,24)
#080416
(8,4,22)
#070414
(7,4,20)
#060412
(6,4,18)
#050410
(5,4,16)
#04040E
(4,4,14)
#03040C
(3,4,12)
#02040A
(2,4,10)
#000000
(0,0,0)

Tints of #0C041E

#0C041E
(12,4,30)
#221A32
(34,26,50)
#383046
(56,48,70)
#4E465A
(78,70,90)
#645C6E
(100,92,110)
#7A7282
(122,114,130)
#908896
(144,136,150)
#A69EAA
(166,158,170)
#BCB4BE
(188,180,190)
#D2CAD2
(210,202,210)
#E8E0E6
(232,224,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C041E; }

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

This text font color is #0C041E.


Background Color

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

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

This div background color is #0C041E.


Border color

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

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

This div border color is #0C041E.


Opacity

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

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

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

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

This text has shadow with #0C041E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C041E on black background.


Color preview on white background

This text has color #0C041E on white background.



Black color preview on #0C041E background

This text has black color on #0C041E background.


White color preview on #0C041E background

This text has white color on #0C041E background.