COLOR #0C2255

HEX: #0C2255 RGB: (12,34,85)

Color info

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

RGB color model

#0C2255 color RGB value is (12,34,85).

RGB: (12,34,85) (5%, 13%, 33%)

RGB channels and saturation

R 12 of 255 = 5%
G 34 of 255 = 13%
B 85 of 255 = 33%

12
34
85

R + G + B ~ 17%. #0C2255 is dark color.

Portions of RGB colors in percentages

R + G + B = 12 + 34 + 85 = 131 (100%)
R 12 of 131 ~ 9.16%
G 34 of 131 ~ 25.95%
B 85 of 131 ~ 64.89'%

%25.95
%64.89

CMYK color model

#0C2255 color CMYK value is (86,60,0,67).

  • cyan value is 85.88%
  • magenta value is 60.00%
  • yellow value is 0.00%
  • key color value is 66.67%

CMYK: (86,60,0,67)
C86M60Y0K67 (86%, 60%, 0%, 67%)
(0.86 / 0.60 / 0.00 / 0.67)

CMYK percentages

%85.88
%60
%0
%66.67

Codes

Color #0C2255 in popluar color models

0C 22 55
RGB 12 34 85
HSL 222° 75.26% 19.02%
HSB/HSV 222° 85.88% 33.33%
CMYK 85.88% 60.00% 0.00%
66.67%

Color #0C2255 in popluar number systems.

HEX 0C 22 55
Decimal 12 34 85
Binary 1100 100010 1010101
Octal 14 42 125

Shades and tints

Shades of #0C2255

#0C2255
(12,34,85)
#0B1F4E
(11,31,78)
#0A1C47
(10,28,71)
#091940
(9,25,64)
#081639
(8,22,57)
#071332
(7,19,50)
#06102B
(6,16,43)
#050D24
(5,13,36)
#040A1D
(4,10,29)
#030716
(3,7,22)
#02040F
(2,4,15)
#000000
(0,0,0)

Tints of #0C2255

#0C2255
(12,34,85)
#223664
(34,54,100)
#384A73
(56,74,115)
#4E5E82
(78,94,130)
#647291
(100,114,145)
#7A86A0
(122,134,160)
#909AAF
(144,154,175)
#A6AEBE
(166,174,190)
#BCC2CD
(188,194,205)
#D2D6DC
(210,214,220)
#E8EAEB
(232,234,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C2255; }

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

This text font color is #0C2255.

Background Color

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

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

This div background color is #0C2255.

Border color

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

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

This div border color is #0C2255.

Opacity

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

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

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

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

This text has shadow with #0C2255 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C2255.

Preview

Color preview on black background

This text has color #0C2255 on black background.


Color preview on white background

This text has color #0C2255 on white background.


Black color preview on #0C2255 background

This text has black color on #0C2255 background.


White color preview on #0C2255 background

This text has white color on #0C2255 background.


Related colors

Complementary color

Complementary color for #hex is #F3DDAA.


I love getcolorcode.com

Triadic colors

1 #550C22 and #22550C with #0C2255 are triadic colors.

2 #55220C and #220C55 with #0C2255 are triadic colors.