COLOR #0C2757

HEX: #0C2757
RGB: (12,39,87)

Color info

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

RGB color model

#0C2757 color RGB value is (12,39,87).

  • red value is 12;
  • green value is 39;
  • blue value is 87.
RGB:
(12,39,87)
(5%,15%,34%)

RGB channels and saturation

R 12 of 255 = 5%
G 39 of 255 = 15%
B 87 of 255 = 34%

12
39
87

R + G + B ~ 18%. #0C2757 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 39 + 87 = 138 (100%)
R 12 of 138 ~ 8.7%
G 39 of 138 ~ 28.26%
B 87 of 138 ~ 63.04%

%28.26
%63.04

CMYK color model

#0C2757 color CMYK value is (86,55,0,66).

  • cyan value is 86.21%
  • magenta value is 55.17%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK:
(86,55,0,66)
C86M55Y0K66 
(86%,55%,0%,66%)
(0.86/0.55/0.00/0.66)	

CMYK percentages

%86.21
%55.17
%0
%65.88

Codes

Color #0C2757 in popluar color models

0C2757
RGB123987
HSL218°75.76%19.41%
HSB/HSV218°86.21%34.12%
CMYK86.21%55.17%0.00%
65.88%

Color #0C2757 in popluar number systems.

HEX0C2757
Decimal123987
Binary11001001111010111
Octal1447127

Shades and tints

Shades of #0C2757

#0C2757
(12,39,87)
#0B2450
(11,36,80)
#0A2149
(10,33,73)
#091E42
(9,30,66)
#081B3B
(8,27,59)
#071834
(7,24,52)
#06152D
(6,21,45)
#051226
(5,18,38)
#040F1F
(4,15,31)
#030C18
(3,12,24)
#020911
(2,9,17)
#000000
(0,0,0)

Tints of #0C2757

#0C2757
(12,39,87)
#223A66
(34,58,102)
#384D75
(56,77,117)
#4E6084
(78,96,132)
#647393
(100,115,147)
#7A86A2
(122,134,162)
#9099B1
(144,153,177)
#A6ACC0
(166,172,192)
#BCBFCF
(188,191,207)
#D2D2DE
(210,210,222)
#E8E5ED
(232,229,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C2757; }

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

This text font color is #0C2757.


Background Color

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

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

This div background color is #0C2757.


Border color

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

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

This div border color is #0C2757.


Opacity

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

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

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

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

This text has shadow with #0C2757 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C2757 on black background.


Color preview on white background

This text has color #0C2757 on white background.



Black color preview on #0C2757 background

This text has black color on #0C2757 background.


White color preview on #0C2757 background

This text has white color on #0C2757 background.