COLOR #0C2831

HEX: #0C2831 RGB: (12,40,49)

Color info

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

RGB color model

#0C2831 color RGB value is (12,40,49).

RGB: (12,40,49) (5%, 16%, 19%)

RGB channels and saturation

R 12 of 255 = 5%
G 40 of 255 = 16%
B 49 of 255 = 19%

12
40
49

R + G + B ~ 13%. #0C2831 is dark color.

Portions of RGB colors in percentages

R + G + B = 12 + 40 + 49 = 101 (100%)
R 12 of 101 ~ 11.88%
G 40 of 101 ~ 39.6%
B 49 of 101 ~ 48.51'%

%11.88
%39.6
%48.51

CMYK color model

#0C2831 color CMYK value is (76,18,0,81).

  • cyan value is 75.51%
  • magenta value is 18.37%
  • yellow value is 0.00%
  • key color value is 80.78%

CMYK: (76,18,0,81)
C76M18Y0K81 (76%, 18%, 0%, 81%)
(0.76 / 0.18 / 0.00 / 0.81)

CMYK percentages

%75.51
%18.37
%0
%80.78

Codes

Color #0C2831 in popluar color models

0C 28 31
RGB 12 40 49
HSL 195° 60.66% 11.96%
HSB/HSV 195° 75.51% 19.22%
CMYK 75.51% 18.37% 0.00%
80.78%

Color #0C2831 in popluar number systems.

HEX 0C 28 31
Decimal 12 40 49
Binary 1100 101000 110001
Octal 14 50 61

Shades and tints

Shades of #0C2831

#0C2831
(12,40,49)
#0B252D
(11,37,45)
#0A2229
(10,34,41)
#091F25
(9,31,37)
#081C21
(8,28,33)
#07191D
(7,25,29)
#061619
(6,22,25)
#051315
(5,19,21)
#041011
(4,16,17)
#030D0D
(3,13,13)
#020A09
(2,10,9)
#000000
(0,0,0)

Tints of #0C2831

#0C2831
(12,40,49)
#223B43
(34,59,67)
#384E55
(56,78,85)
#4E6167
(78,97,103)
#647479
(100,116,121)
#7A878B
(122,135,139)
#909A9D
(144,154,157)
#A6ADAF
(166,173,175)
#BCC0C1
(188,192,193)
#D2D3D3
(210,211,211)
#E8E6E5
(232,230,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C2831 color. Also use rgb(12,40,49) instead hex code.

Text Font Color

.myTextColor { color: #0C2831; }

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

This text font color is #0C2831.

Background Color

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

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

This div background color is #0C2831.

Border color

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

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

This div border color is #0C2831.

Opacity

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

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

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

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

This text has shadow with #0C2831 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C2831.

Preview

Color preview on black background

This text has color #0C2831 on black background.


Color preview on white background

This text has color #0C2831 on white background.


Black color preview on #0C2831 background

This text has black color on #0C2831 background.


White color preview on #0C2831 background

This text has white color on #0C2831 background.


Related colors

Complementary color

Complementary color for #hex is #F3D7CE.


I love getcolorcode.com

Triadic colors

1 #310C28 and #28310C with #0C2831 are triadic colors.

2 #31280C and #280C31 with #0C2831 are triadic colors.