COLOR #0C1158

HEX: #0C1158 RGB: (12,17,88)

Color info

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

RGB color model

#0C1158 color RGB value is (12,17,88).

RGB: (12,17,88) (5%, 7%, 35%)

RGB channels and saturation

R 12 of 255 = 5%
G 17 of 255 = 7%
B 88 of 255 = 35%

12
17
88

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

Portions of RGB colors in percentages

R + G + B = 12 + 17 + 88 = 117 (100%)
R 12 of 117 ~ 10.26%
G 17 of 117 ~ 14.53%
B 88 of 117 ~ 75.21'%

%14.53
%75.21

CMYK color model

#0C1158 color CMYK value is (86,81,0,65).

  • cyan value is 86.36%
  • magenta value is 80.68%
  • yellow value is 0.00%
  • key color value is 65.49%

CMYK: (86,81,0,65)
C86M81Y0K65 (86%, 81%, 0%, 65%)
(0.86 / 0.81 / 0.00 / 0.65)

CMYK percentages

%86.36
%80.68
%0
%65.49

Codes

Color #0C1158 in popluar color models

0C 11 58
RGB 12 17 88
HSL 236° 76.00% 19.61%
HSB/HSV 236° 86.36% 34.51%
CMYK 86.36% 80.68% 0.00%
65.49%

Color #0C1158 in popluar number systems.

HEX 0C 11 58
Decimal 12 17 88
Binary 1100 10001 1011000
Octal 14 21 130

Shades and tints

Shades of #0C1158

#0C1158
(12,17,88)
#0B1050
(11,16,80)
#0A0F48
(10,15,72)
#090E40
(9,14,64)
#080D38
(8,13,56)
#070C30
(7,12,48)
#060B28
(6,11,40)
#050A20
(5,10,32)
#040918
(4,9,24)
#030810
(3,8,16)
#020708
(2,7,8)
#000000
(0,0,0)

Tints of #0C1158

#0C1158
(12,17,88)
#222667
(34,38,103)
#383B76
(56,59,118)
#4E5085
(78,80,133)
#646594
(100,101,148)
#7A7AA3
(122,122,163)
#908FB2
(144,143,178)
#A6A4C1
(166,164,193)
#BCB9D0
(188,185,208)
#D2CEDF
(210,206,223)
#E8E3EE
(232,227,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1158; }

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

This text font color is #0C1158.

Background Color

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

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

This div background color is #0C1158.

Border color

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

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

This div border color is #0C1158.

Opacity

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

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

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

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

This text has shadow with #0C1158 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C1158.

Preview

Color preview on black background

This text has color #0C1158 on black background.


Color preview on white background

This text has color #0C1158 on white background.


Black color preview on #0C1158 background

This text has black color on #0C1158 background.


White color preview on #0C1158 background

This text has white color on #0C1158 background.


Related colors

Complementary color

Complementary color for #0C1158 is #F3EEA7.


I love getcolorcode.com

Triadic colors

1 #580C11 and #11580C with #0C1158 are triadic colors.

2 #58110C and #110C58 with #0C1158 are triadic colors.