COLOR #0C2C40

HEX: #0C2C40
RGB: (12,44,64)

Color info

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

RGB color model

#0C2C40 color RGB value is (12,44,64).

  • red value is 12;
  • green value is 44;
  • blue value is 64.
RGB:
(12,44,64)
(5%,17%,25%)

RGB channels and saturation

R 12 of 255 = 5%
G 44 of 255 = 17%
B 64 of 255 = 25%

12
44
64

R + G + B ~ 16%. #0C2C40 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 44 + 64 = 120 (100%)
R 12 of 120 ~ 10%
G 44 of 120 ~ 36.67%
B 64 of 120 ~ 53.33%

%10
%36.67
%53.33

CMYK color model

#0C2C40 color CMYK value is (81,31,0,75).

  • cyan value is 81.25%
  • magenta value is 31.25%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(81,31,0,75)
C81M31Y0K75 
(81%,31%,0%,75%)
(0.81/0.31/0.00/0.75)	

CMYK percentages

%81.25
%31.25
%0
%74.9

Codes

Color #0C2C40 in popluar color models

0C2C40
RGB124464
HSL203°68.42%14.90%
HSB/HSV203°81.25%25.10%
CMYK81.25%31.25%0.00%
74.90%

Color #0C2C40 in popluar number systems.

HEX0C2C40
Decimal124464
Binary11001011001000000
Octal1454100

Shades and tints

Shades of #0C2C40

#0C2C40
(12,44,64)
#0B283B
(11,40,59)
#0A2436
(10,36,54)
#092031
(9,32,49)
#081C2C
(8,28,44)
#071827
(7,24,39)
#061422
(6,20,34)
#05101D
(5,16,29)
#040C18
(4,12,24)
#030813
(3,8,19)
#02040E
(2,4,14)
#000000
(0,0,0)

Tints of #0C2C40

#0C2C40
(12,44,64)
#223F51
(34,63,81)
#385262
(56,82,98)
#4E6573
(78,101,115)
#647884
(100,120,132)
#7A8B95
(122,139,149)
#909EA6
(144,158,166)
#A6B1B7
(166,177,183)
#BCC4C8
(188,196,200)
#D2D7D9
(210,215,217)
#E8EAEA
(232,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C2C40 color. Also use rgb(12,44,64) instead hex code.

Text Font Color

.myTextColor { color: #0C2C40; }

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

This text font color is #0C2C40.


Background Color

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

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

This div background color is #0C2C40.


Border color

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

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

This div border color is #0C2C40.


Opacity

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

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

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

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

This text has shadow with #0C2C40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C2C40 on black background.


Color preview on white background

This text has color #0C2C40 on white background.



Black color preview on #0C2C40 background

This text has black color on #0C2C40 background.


White color preview on #0C2C40 background

This text has white color on #0C2C40 background.