COLOR #0C1C52

HEX: #0C1C52
RGB: (12,28,82)

Color info

#0C1C52 contains mainly green and blue colors. Web safe color of #0C1C52 is #003366 (or #036).

RGB color model

#0C1C52 color RGB value is (12,28,82).

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

RGB channels and saturation

R 12 of 255 = 5%
G 28 of 255 = 11%
B 82 of 255 = 32%

12
28
82

R + G + B ~ 16%. #0C1C52 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 28 + 82 = 122 (100%)
R 12 of 122 ~ 9.84%
G 28 of 122 ~ 22.95%
B 82 of 122 ~ 67.21%

%9.84
%22.95
%67.21

CMYK color model

#0C1C52 color CMYK value is (85,66,0,68).

  • cyan value is 85.37%
  • magenta value is 65.85%
  • yellow value is 0.00%
  • key color value is 67.84%
CMYK:
(85,66,0,68)
C85M66Y0K68 
(85%,66%,0%,68%)
(0.85/0.66/0.00/0.68)	

CMYK percentages

%85.37
%65.85
%0
%67.84

Codes

Color #0C1C52 in popluar color models

0C1C52
RGB122882
HSL226°74.47%18.43%
HSB/HSV226°85.37%32.16%
CMYK85.37%65.85%0.00%
67.84%

Color #0C1C52 in popluar number systems.

HEX0C1C52
Decimal122882
Binary1100111001010010
Octal1434122

Shades and tints

Shades of #0C1C52

#0C1C52
(12,28,82)
#0B1A4B
(11,26,75)
#0A1844
(10,24,68)
#09163D
(9,22,61)
#081436
(8,20,54)
#07122F
(7,18,47)
#061028
(6,16,40)
#050E21
(5,14,33)
#040C1A
(4,12,26)
#030A13
(3,10,19)
#02080C
(2,8,12)
#000000
(0,0,0)

Tints of #0C1C52

#0C1C52
(12,28,82)
#223061
(34,48,97)
#384470
(56,68,112)
#4E587F
(78,88,127)
#646C8E
(100,108,142)
#7A809D
(122,128,157)
#9094AC
(144,148,172)
#A6A8BB
(166,168,187)
#BCBCCA
(188,188,202)
#D2D0D9
(210,208,217)
#E8E4E8
(232,228,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1C52; }

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

This text font color is #0C1C52.


Background Color

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

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

This div background color is #0C1C52.


Border color

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

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

This div border color is #0C1C52.


Opacity

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

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

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

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

This text has shadow with #0C1C52 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1C52 on black background.


Color preview on white background

This text has color #0C1C52 on white background.



Black color preview on #0C1C52 background

This text has black color on #0C1C52 background.


White color preview on #0C1C52 background

This text has white color on #0C1C52 background.