COLOR #0C126C

HEX: #0C126C RGB: (12,18,108)

Color info

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

RGB color model

#0C126C color RGB value is (12,18,108).

RGB: (12,18,108) (5%, 7%, 42%)

RGB channels and saturation

R 12 of 255 = 5%
G 18 of 255 = 7%
B 108 of 255 = 42%

12
18
108

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

Portions of RGB colors in percentages

R + G + B = 12 + 18 + 108 = 138 (100%)
R 12 of 138 ~ 8.7%
G 18 of 138 ~ 13.04%
B 108 of 138 ~ 78.26'%

%13.04
%78.26

CMYK color model

#0C126C color CMYK value is (89,83,0,58).

  • cyan value is 88.89%
  • magenta value is 83.33%
  • yellow value is 0.00%
  • key color value is 57.65%

CMYK: (89,83,0,58)
C89M83Y0K58 (89%, 83%, 0%, 58%)
(0.89 / 0.83 / 0.00 / 0.58)

CMYK percentages

%88.89
%83.33
%0
%57.65

Codes

Color #0C126C in popluar color models

0C 12 6C
RGB 12 18 108
HSL 236° 80.00% 23.53%
HSB/HSV 236° 88.89% 42.35%
CMYK 88.89% 83.33% 0.00%
57.65%

Color #0C126C in popluar number systems.

HEX 0C 12 6C
Decimal 12 18 108
Binary 1100 10010 1101100
Octal 14 22 154

Shades and tints

Shades of #0C126C

#0C126C
(12,18,108)
#0B1163
(11,17,99)
#0A105A
(10,16,90)
#090F51
(9,15,81)
#080E48
(8,14,72)
#070D3F
(7,13,63)
#060C36
(6,12,54)
#050B2D
(5,11,45)
#040A24
(4,10,36)
#03091B
(3,9,27)
#020812
(2,8,18)
#000000
(0,0,0)

Tints of #0C126C

#0C126C
(12,18,108)
#222779
(34,39,121)
#383C86
(56,60,134)
#4E5193
(78,81,147)
#6466A0
(100,102,160)
#7A7BAD
(122,123,173)
#9090BA
(144,144,186)
#A6A5C7
(166,165,199)
#BCBAD4
(188,186,212)
#D2CFE1
(210,207,225)
#E8E4EE
(232,228,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C126C; }

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

This text font color is #0C126C.

Background Color

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

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

This div background color is #0C126C.

Border color

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

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

This div border color is #0C126C.

Opacity

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

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

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

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

This text has shadow with #0C126C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C126C.

Preview

Color preview on black background

This text has color #0C126C on black background.


Color preview on white background

This text has color #0C126C on white background.


Black color preview on #0C126C background

This text has black color on #0C126C background.


White color preview on #0C126C background

This text has white color on #0C126C background.


Related colors

Complementary color

Complementary color for #hex is #F3ED93.


I love getcolorcode.com

Triadic colors

1 #6C0C12 and #126C0C with #0C126C are triadic colors.

2 #6C120C and #120C6C with #0C126C are triadic colors.