COLOR #0C2E38

HEX: #0C2E38
RGB: (12,46,56)

Color info

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

RGB color model

#0C2E38 color RGB value is (12,46,56).

  • red value is 12;
  • green value is 46;
  • blue value is 56.
RGB:
(12,46,56)
(5%,18%,22%)

RGB channels and saturation

R 12 of 255 = 5%
G 46 of 255 = 18%
B 56 of 255 = 22%

12
46
56

R + G + B ~ 15%. #0C2E38 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 46 + 56 = 114 (100%)
R 12 of 114 ~ 10.53%
G 46 of 114 ~ 40.35%
B 56 of 114 ~ 49.12%

%10.53
%40.35
%49.12

CMYK color model

#0C2E38 color CMYK value is (79,18,0,78).

  • cyan value is 78.57%
  • magenta value is 17.86%
  • yellow value is 0.00%
  • key color value is 78.04%
CMYK:
(79,18,0,78)
C79M18Y0K78 
(79%,18%,0%,78%)
(0.79/0.18/0.00/0.78)	

CMYK percentages

%78.57
%17.86
%0
%78.04

Codes

Color #0C2E38 in popluar color models

0C2E38
RGB124656
HSL194°64.71%13.33%
HSB/HSV194°78.57%21.96%
CMYK78.57%17.86%0.00%
78.04%

Color #0C2E38 in popluar number systems.

HEX0C2E38
Decimal124656
Binary1100101110111000
Octal145670

Shades and tints

Shades of #0C2E38

#0C2E38
(12,46,56)
#0B2A33
(11,42,51)
#0A262E
(10,38,46)
#092229
(9,34,41)
#081E24
(8,30,36)
#071A1F
(7,26,31)
#06161A
(6,22,26)
#051215
(5,18,21)
#040E10
(4,14,16)
#030A0B
(3,10,11)
#020606
(2,6,6)
#000000
(0,0,0)

Tints of #0C2E38

#0C2E38
(12,46,56)
#22414A
(34,65,74)
#38545C
(56,84,92)
#4E676E
(78,103,110)
#647A80
(100,122,128)
#7A8D92
(122,141,146)
#90A0A4
(144,160,164)
#A6B3B6
(166,179,182)
#BCC6C8
(188,198,200)
#D2D9DA
(210,217,218)
#E8ECEC
(232,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C2E38 color. Also use rgb(12,46,56) instead hex code.

Text Font Color

.myTextColor { color: #0C2E38; }

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

This text font color is #0C2E38.


Background Color

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

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

This div background color is #0C2E38.


Border color

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

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

This div border color is #0C2E38.


Opacity

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

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

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

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

This text has shadow with #0C2E38 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C2E38 on black background.


Color preview on white background

This text has color #0C2E38 on white background.



Black color preview on #0C2E38 background

This text has black color on #0C2E38 background.


White color preview on #0C2E38 background

This text has white color on #0C2E38 background.