COLOR #0C1531

HEX: #0C1531
RGB: (12,21,49)

Color info

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

RGB color model

#0C1531 color RGB value is (12,21,49).

  • red value is 12;
  • green value is 21;
  • blue value is 49.
RGB:
(12,21,49)
(5%,8%,19%)

RGB channels and saturation

R 12 of 255 = 5%
G 21 of 255 = 8%
B 49 of 255 = 19%

12
21
49

R + G + B ~ 11%. #0C1531 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 21 + 49 = 82 (100%)
R 12 of 82 ~ 14.63%
G 21 of 82 ~ 25.61%
B 49 of 82 ~ 59.76%

%14.63
%25.61
%59.76

CMYK color model

#0C1531 color CMYK value is (76,57,0,81).

  • cyan value is 75.51%
  • magenta value is 57.14%
  • yellow value is 0.00%
  • key color value is 80.78%
CMYK:
(76,57,0,81)
C76M57Y0K81 
(76%,57%,0%,81%)
(0.76/0.57/0.00/0.81)	

CMYK percentages

%75.51
%57.14
%0
%80.78

Codes

Color #0C1531 in popluar color models

0C1531
RGB122149
HSL225°60.66%11.96%
HSB/HSV225°75.51%19.22%
CMYK75.51%57.14%0.00%
80.78%

Color #0C1531 in popluar number systems.

HEX0C1531
Decimal122149
Binary110010101110001
Octal142561

Shades and tints

Shades of #0C1531

#0C1531
(12,21,49)
#0B142D
(11,20,45)
#0A1329
(10,19,41)
#091225
(9,18,37)
#081121
(8,17,33)
#07101D
(7,16,29)
#060F19
(6,15,25)
#050E15
(5,14,21)
#040D11
(4,13,17)
#030C0D
(3,12,13)
#020B09
(2,11,9)
#000000
(0,0,0)

Tints of #0C1531

#0C1531
(12,21,49)
#222A43
(34,42,67)
#383F55
(56,63,85)
#4E5467
(78,84,103)
#646979
(100,105,121)
#7A7E8B
(122,126,139)
#90939D
(144,147,157)
#A6A8AF
(166,168,175)
#BCBDC1
(188,189,193)
#D2D2D3
(210,210,211)
#E8E7E5
(232,231,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C1531 color. Also use rgb(12,21,49) instead hex code.

Text Font Color

.myTextColor { color: #0C1531; }

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

This text font color is #0C1531.


Background Color

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

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

This div background color is #0C1531.


Border color

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

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

This div border color is #0C1531.


Opacity

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

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

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

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

This text has shadow with #0C1531 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1531 on black background.


Color preview on white background

This text has color #0C1531 on white background.



Black color preview on #0C1531 background

This text has black color on #0C1531 background.


White color preview on #0C1531 background

This text has white color on #0C1531 background.