COLOR #0C051B

HEX: #0C051B RGB: (12,5,27)

Color info

#0C051B contains red, green and blue colors in about the same proportion. Web safe color of #0C051B is #000033 (or #003).

RGB color model

#0C051B color RGB value is (12,5,27).

RGB: (12,5,27) (5%, 2%, 11%)

RGB channels and saturation

R 12 of 255 = 5%
G 5 of 255 = 2%
B 27 of 255 = 11%

12
5
27

R + G + B ~ 6%. #0C051B is dark color.

Portions of RGB colors in percentages

R + G + B = 12 + 5 + 27 = 44 (100%)
R 12 of 44 ~ 27.27%
G 5 of 44 ~ 11.36%
B 27 of 44 ~ 61.36'%

%27.27
%11.36
%61.36

CMYK color model

#0C051B color CMYK value is (56,81,0,89).

  • cyan value is 55.56%
  • magenta value is 81.48%
  • yellow value is 0.00%
  • key color value is 89.41%
CMYK: (56,81,0,89) C56M81Y0K89 (56%,81%,0%,89%) (0.56/0.81/0.00/0.89) 

CMYK percentages

%55.56
%81.48
%0
%89.41

Codes

Color #0C051B in popluar color models

0C 05 1B
RGB 12 5 27
HSL 259° 68.75% 6.27%
HSB/HSV 259° 81.48% 10.59%
CMYK 55.56% 81.48% 0.00%
89.41%

Color #0C051B in popluar number systems.

HEX 0C 05 1B
Decimal 12 5 27
Binary 1100 101 11011
Octal 14 5 33

Shades and tints

Shades of #0C051B

#0C051B
(12,5,27)
#0B0519
(11,5,25)
#0A0517
(10,5,23)
#090515
(9,5,21)
#080513
(8,5,19)
#070511
(7,5,17)
#06050F
(6,5,15)
#05050D
(5,5,13)
#04050B
(4,5,11)
#030509
(3,5,9)
#020507
(2,5,7)
#000000
(0,0,0)

Tints of #0C051B

#0C051B
(12,5,27)
#221B2F
(34,27,47)
#383143
(56,49,67)
#4E4757
(78,71,87)
#645D6B
(100,93,107)
#7A737F
(122,115,127)
#908993
(144,137,147)
#A69FA7
(166,159,167)
#BCB5BB
(188,181,187)
#D2CBCF
(210,203,207)
#E8E1E3
(232,225,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C051B; }

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

This text font color is #0C051B.

Background Color

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

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

This div background color is #0C051B.

Border color

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

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

This div border color is #0C051B.

Opacity

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

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

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

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

This text has shadow with #0C051B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C051B.

Preview

Color preview on black background

This text has color #0C051B on black background.


Color preview on white background

This text has color #0C051B on white background.


Black color preview on #0C051B background

This text has black color on #0C051B background.


White color preview on #0C051B background

This text has white color on #0C051B background.


Related colors

Complementary color

Complementary color for #hex is #F3FAE4.


I love getcolorcode.com

Triadic colors

1 #1B0C05 and #051B0C with #0C051B are triadic colors.

2 #1B050C and #050C1B with #0C051B are triadic colors.