COLOR #0C402C

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

Color info

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

RGB color model

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

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

RGB channels and saturation

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

12
64
44

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

Portions of RGB colors in percentages

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

%10
%53.33
%36.67

CMYK color model

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

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

CMYK percentages

%81.25
%0
%31.25
%74.9

Codes

Color #0C402C in popluar color models

0C402C
RGB126444
HSL157°68.42%14.90%
HSB/HSV157°81.25%25.10%
CMYK81.25%0.00%31.25%
74.90%

Color #0C402C in popluar number systems.

HEX0C402C
Decimal126444
Binary11001000000101100
Octal1410054

Shades and tints

Shades of #0C402C

#0C402C
(12,64,44)
#0B3B28
(11,59,40)
#0A3624
(10,54,36)
#093120
(9,49,32)
#082C1C
(8,44,28)
#072718
(7,39,24)
#062214
(6,34,20)
#051D10
(5,29,16)
#04180C
(4,24,12)
#031308
(3,19,8)
#020E04
(2,14,4)
#000000
(0,0,0)

Tints of #0C402C

#0C402C
(12,64,44)
#22513F
(34,81,63)
#386252
(56,98,82)
#4E7365
(78,115,101)
#648478
(100,132,120)
#7A958B
(122,149,139)
#90A69E
(144,166,158)
#A6B7B1
(166,183,177)
#BCC8C4
(188,200,196)
#D2D9D7
(210,217,215)
#E8EAEA
(232,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C402C; }

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

This text font color is #0C402C.


Background Color

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

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

This div background color is #0C402C.


Border color

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

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

This div border color is #0C402C.


Opacity

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

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

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

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

This text has shadow with #0C402C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C402C on black background.


Color preview on white background

This text has color #0C402C on white background.



Black color preview on #0C402C background

This text has black color on #0C402C background.


White color preview on #0C402C background

This text has white color on #0C402C background.