COLOR #0C2540

HEX: #0C2540 RGB: (12,37,64)

Color info

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

RGB color model

#0C2540 color RGB value is (12,37,64).

RGB: (12,37,64) (5%, 15%, 25%)

RGB channels and saturation

R 12 of 255 = 5%
G 37 of 255 = 15%
B 64 of 255 = 25%

12
37
64

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

Portions of RGB colors in percentages

R + G + B = 12 + 37 + 64 = 113 (100%)
R 12 of 113 ~ 10.62%
G 37 of 113 ~ 32.74%
B 64 of 113 ~ 56.64'%

%10.62
%32.74
%56.64

CMYK color model

#0C2540 color CMYK value is (81,42,0,75).

  • cyan value is 81.25%
  • magenta value is 42.19%
  • yellow value is 0.00%
  • key color value is 74.90%

CMYK: (81,42,0,75)
C81M42Y0K75 (81%, 42%, 0%, 75%)
(0.81 / 0.42 / 0.00 / 0.75)

CMYK percentages

%81.25
%42.19
%0
%74.9

Codes

Color #0C2540 in popluar color models

0C 25 40
RGB 12 37 64
HSL 211° 68.42% 14.90%
HSB/HSV 211° 81.25% 25.10%
CMYK 81.25% 42.19% 0.00%
74.90%

Color #0C2540 in popluar number systems.

HEX 0C 25 40
Decimal 12 37 64
Binary 1100 100101 1000000
Octal 14 45 100

Shades and tints

Shades of #0C2540

#0C2540
(12,37,64)
#0B223B
(11,34,59)
#0A1F36
(10,31,54)
#091C31
(9,28,49)
#08192C
(8,25,44)
#071627
(7,22,39)
#061322
(6,19,34)
#05101D
(5,16,29)
#040D18
(4,13,24)
#030A13
(3,10,19)
#02070E
(2,7,14)
#000000
(0,0,0)

Tints of #0C2540

#0C2540
(12,37,64)
#223851
(34,56,81)
#384B62
(56,75,98)
#4E5E73
(78,94,115)
#647184
(100,113,132)
#7A8495
(122,132,149)
#9097A6
(144,151,166)
#A6AAB7
(166,170,183)
#BCBDC8
(188,189,200)
#D2D0D9
(210,208,217)
#E8E3EA
(232,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C2540; }

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

This text font color is #0C2540.

Background Color

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

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

This div background color is #0C2540.

Border color

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

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

This div border color is #0C2540.

Opacity

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

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

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

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

This text has shadow with #0C2540 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C2540.

Preview

Color preview on black background

This text has color #0C2540 on black background.


Color preview on white background

This text has color #0C2540 on white background.


Black color preview on #0C2540 background

This text has black color on #0C2540 background.


White color preview on #0C2540 background

This text has white color on #0C2540 background.


Related colors

Complementary color

Complementary color for #hex is #F3DABF.


I love getcolorcode.com

Triadic colors

1 #400C25 and #25400C with #0C2540 are triadic colors.

2 #40250C and #250C40 with #0C2540 are triadic colors.