COLOR #0C1F26

HEX: #0C1F26
RGB: (12,31,38)

Color info

#0C1F26 contains red, green and blue colors in about the same proportion. Web safe color of #0C1F26 is #003333 (or #033).

RGB color model

#0C1F26 color RGB value is (12,31,38).

  • red value is 12;
  • green value is 31;
  • blue value is 38.
RGB:
(12,31,38)
(5%,12%,15%)

RGB channels and saturation

R 12 of 255 = 5%
G 31 of 255 = 12%
B 38 of 255 = 15%

12
31
38

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

Portions of RGB colors in percentages

R + G + B =
12 + 31 + 38 = 81 (100%)
R 12 of 81 ~ 14.81%
G 31 of 81 ~ 38.27%
B 38 of 81 ~ 46.91%

%14.81
%38.27
%46.91

CMYK color model

#0C1F26 color CMYK value is (68,18,0,85).

  • cyan value is 68.42%
  • magenta value is 18.42%
  • yellow value is 0.00%
  • key color value is 85.10%
CMYK:
(68,18,0,85)
C68M18Y0K85 
(68%,18%,0%,85%)
(0.68/0.18/0.00/0.85)	

CMYK percentages

%68.42
%18.42
%0
%85.1

Codes

Color #0C1F26 in popluar color models

0C1F26
RGB123138
HSL196°52.00%9.80%
HSB/HSV196°68.42%14.90%
CMYK68.42%18.42%0.00%
85.10%

Color #0C1F26 in popluar number systems.

HEX0C1F26
Decimal123138
Binary110011111100110
Octal143746

Shades and tints

Shades of #0C1F26

#0C1F26
(12,31,38)
#0B1D23
(11,29,35)
#0A1B20
(10,27,32)
#09191D
(9,25,29)
#08171A
(8,23,26)
#071517
(7,21,23)
#061314
(6,19,20)
#051111
(5,17,17)
#040F0E
(4,15,14)
#030D0B
(3,13,11)
#020B08
(2,11,8)
#000000
(0,0,0)

Tints of #0C1F26

#0C1F26
(12,31,38)
#223339
(34,51,57)
#38474C
(56,71,76)
#4E5B5F
(78,91,95)
#646F72
(100,111,114)
#7A8385
(122,131,133)
#909798
(144,151,152)
#A6ABAB
(166,171,171)
#BCBFBE
(188,191,190)
#D2D3D1
(210,211,209)
#E8E7E4
(232,231,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C1F26 color. Also use rgb(12,31,38) instead hex code.

Text Font Color

.myTextColor { color: #0C1F26; }

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

This text font color is #0C1F26.


Background Color

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

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

This div background color is #0C1F26.


Border color

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

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

This div border color is #0C1F26.


Opacity

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

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

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

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

This text has shadow with #0C1F26 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1F26 on black background.


Color preview on white background

This text has color #0C1F26 on white background.



Black color preview on #0C1F26 background

This text has black color on #0C1F26 background.


White color preview on #0C1F26 background

This text has white color on #0C1F26 background.