COLOR #0C0097

HEX: #0C0097
RGB: (12,0,151)

Color info

#0C0097 contains mainly blue color. Web safe color of #0C0097 is #000099 (or #009).

RGB color model

#0C0097 color RGB value is (12,0,151).

  • red value is 12;
  • green value is 0;
  • blue value is 151.
RGB:
(12,0,151)
(5%,0%,59%)

RGB channels and saturation

R 12 of 255 = 5%
G 0 of 255 = 0%
B 151 of 255 = 59%

12
0
151

R + G + B ~ 21%. #0C0097 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 0 + 151 = 163 (100%)
R 12 of 163 ~ 7.36%
G 0 of 163 ~ 0%
B 151 of 163 ~ 92.64%

%92.64

CMYK color model

#0C0097 color CMYK value is (92,100,0,41).

  • cyan value is 92.05%
  • magenta value is 100.00%
  • yellow value is 0.00%
  • key color value is 40.78%
CMYK:
(92,100,0,41)
C92M100Y0K41 
(92%,100%,0%,41%)
(0.92/1.00/0.00/0.41)	

CMYK percentages

%92.05
%100
%0
%40.78

Codes

Color #0C0097 in popluar color models

0C0097
RGB120151
HSL245°100.00%29.61%
HSB/HSV245°100.00%59.22%
CMYK92.05%100.00%0.00%
40.78%

Color #0C0097 in popluar number systems.

HEX0C0097
Decimal120151
Binary1100010010111
Octal140227

Shades and tints

Shades of #0C0097

#0C0097
(12,0,151)
#0B008A
(11,0,138)
#0A007D
(10,0,125)
#090070
(9,0,112)
#080063
(8,0,99)
#070056
(7,0,86)
#060049
(6,0,73)
#05003C
(5,0,60)
#04002F
(4,0,47)
#030022
(3,0,34)
#020015
(2,0,21)
#000000
(0,0,0)

Tints of #0C0097

#0C0097
(12,0,151)
#2217A0
(34,23,160)
#382EA9
(56,46,169)
#4E45B2
(78,69,178)
#645CBB
(100,92,187)
#7A73C4
(122,115,196)
#908ACD
(144,138,205)
#A6A1D6
(166,161,214)
#BCB8DF
(188,184,223)
#D2CFE8
(210,207,232)
#E8E6F1
(232,230,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C0097; }

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

This text font color is #0C0097.


Background Color

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

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

This div background color is #0C0097.


Border color

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

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

This div border color is #0C0097.


Opacity

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

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

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

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

This text has shadow with #0C0097 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C0097 on black background.


Color preview on white background

This text has color #0C0097 on white background.



Black color preview on #0C0097 background

This text has black color on #0C0097 background.


White color preview on #0C0097 background

This text has white color on #0C0097 background.