COLOR #0C1C2A

HEX: #0C1C2A
RGB: (12,28,42)

Color info

#0C1C2A contains red, green and blue colors in about the same proportion. Web safe color of #0C1C2A is #003333 (or #033).

RGB color model

#0C1C2A color RGB value is (12,28,42).

  • red value is 12;
  • green value is 28;
  • blue value is 42.
RGB:
(12,28,42)
(5%,11%,16%)

RGB channels and saturation

R 12 of 255 = 5%
G 28 of 255 = 11%
B 42 of 255 = 16%

12
28
42

R + G + B ~ 11%. #0C1C2A is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 28 + 42 = 82 (100%)
R 12 of 82 ~ 14.63%
G 28 of 82 ~ 34.15%
B 42 of 82 ~ 51.22%

%14.63
%34.15
%51.22

CMYK color model

#0C1C2A color CMYK value is (71,33,0,84).

  • cyan value is 71.43%
  • magenta value is 33.33%
  • yellow value is 0.00%
  • key color value is 83.53%
CMYK:
(71,33,0,84)
C71M33Y0K84 
(71%,33%,0%,84%)
(0.71/0.33/0.00/0.84)	

CMYK percentages

%71.43
%33.33
%0
%83.53

Codes

Color #0C1C2A in popluar color models

0C1C2A
RGB122842
HSL208°55.56%10.59%
HSB/HSV208°71.43%16.47%
CMYK71.43%33.33%0.00%
83.53%

Color #0C1C2A in popluar number systems.

HEX0C1C2A
Decimal122842
Binary110011100101010
Octal143452

Shades and tints

Shades of #0C1C2A

#0C1C2A
(12,28,42)
#0B1A27
(11,26,39)
#0A1824
(10,24,36)
#091621
(9,22,33)
#08141E
(8,20,30)
#07121B
(7,18,27)
#061018
(6,16,24)
#050E15
(5,14,21)
#040C12
(4,12,18)
#030A0F
(3,10,15)
#02080C
(2,8,12)
#000000
(0,0,0)

Tints of #0C1C2A

#0C1C2A
(12,28,42)
#22303D
(34,48,61)
#384450
(56,68,80)
#4E5863
(78,88,99)
#646C76
(100,108,118)
#7A8089
(122,128,137)
#90949C
(144,148,156)
#A6A8AF
(166,168,175)
#BCBCC2
(188,188,194)
#D2D0D5
(210,208,213)
#E8E4E8
(232,228,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1C2A; }

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

This text font color is #0C1C2A.


Background Color

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

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

This div background color is #0C1C2A.


Border color

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

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

This div border color is #0C1C2A.


Opacity

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

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

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

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

This text has shadow with #0C1C2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1C2A on black background.


Color preview on white background

This text has color #0C1C2A on white background.



Black color preview on #0C1C2A background

This text has black color on #0C1C2A background.


White color preview on #0C1C2A background

This text has white color on #0C1C2A background.