COLOR #0C0962

HEX: #0C0962
RGB: (12,9,98)

Color info

#0C0962 contains mainly blue color. Web safe color of #0C0962 is #000066 (or #006).

RGB color model

#0C0962 color RGB value is (12,9,98).

  • red value is 12;
  • green value is 9;
  • blue value is 98.
RGB:
(12,9,98)
(5%,4%,38%)

RGB channels and saturation

R 12 of 255 = 5%
G 9 of 255 = 4%
B 98 of 255 = 38%

12
9
98

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

Portions of RGB colors in percentages

R + G + B =
12 + 9 + 98 = 119 (100%)
R 12 of 119 ~ 10.08%
G 9 of 119 ~ 7.56%
B 98 of 119 ~ 82.35%

%10.08
%82.35

CMYK color model

#0C0962 color CMYK value is (88,91,0,62).

  • cyan value is 87.76%
  • magenta value is 90.82%
  • yellow value is 0.00%
  • key color value is 61.57%
CMYK:
(88,91,0,62)
C88M91Y0K62 
(88%,91%,0%,62%)
(0.88/0.91/0.00/0.62)	

CMYK percentages

%87.76
%90.82
%0
%61.57

Codes

Color #0C0962 in popluar color models

0C0962
RGB12998
HSL242°83.18%20.98%
HSB/HSV242°90.82%38.43%
CMYK87.76%90.82%0.00%
61.57%

Color #0C0962 in popluar number systems.

HEX0C0962
Decimal12998
Binary110010011100010
Octal1411142

Shades and tints

Shades of #0C0962

#0C0962
(12,9,98)
#0B095A
(11,9,90)
#0A0952
(10,9,82)
#09094A
(9,9,74)
#080942
(8,9,66)
#07093A
(7,9,58)
#060932
(6,9,50)
#05092A
(5,9,42)
#040922
(4,9,34)
#03091A
(3,9,26)
#020912
(2,9,18)
#000000
(0,0,0)

Tints of #0C0962

#0C0962
(12,9,98)
#221F70
(34,31,112)
#38357E
(56,53,126)
#4E4B8C
(78,75,140)
#64619A
(100,97,154)
#7A77A8
(122,119,168)
#908DB6
(144,141,182)
#A6A3C4
(166,163,196)
#BCB9D2
(188,185,210)
#D2CFE0
(210,207,224)
#E8E5EE
(232,229,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C0962 color. Also use rgb(12,9,98) instead hex code.

Text Font Color

.myTextColor { color: #0C0962; }

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

This text font color is #0C0962.


Background Color

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

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

This div background color is #0C0962.


Border color

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

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

This div border color is #0C0962.


Opacity

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

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

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

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

This text has shadow with #0C0962 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C0962 on black background.


Color preview on white background

This text has color #0C0962 on white background.



Black color preview on #0C0962 background

This text has black color on #0C0962 background.


White color preview on #0C0962 background

This text has white color on #0C0962 background.