COLOR #0C3828

HEX: #0C3828 RGB: (12,56,40)

Color info

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

RGB color model

#0C3828 color RGB value is (12,56,40).

RGB: (12,56,40) (5%, 22%, 16%)

RGB channels and saturation

R 12 of 255 = 5%
G 56 of 255 = 22%
B 40 of 255 = 16%

12
56
40

R + G + B ~ 14%. #0C3828 is dark color.

Portions of RGB colors in percentages

R + G + B = 12 + 56 + 40 = 108 (100%)
R 12 of 108 ~ 11.11%
G 56 of 108 ~ 51.85%
B 40 of 108 ~ 37.04'%

%11.11
%51.85
%37.04

CMYK color model

#0C3828 color CMYK value is (79,0,29,78).

  • cyan value is 78.57%
  • magenta value is 0.00%
  • yellow value is 28.57%
  • key color value is 78.04%
CMYK: (79,0,29,78) C79M0Y29K78 (79%,0%,29%,78%) (0.79/0.00/0.29/0.78) 

CMYK percentages

%78.57
%0
%28.57
%78.04

Codes

Color #0C3828 in popluar color models

0C 38 28
RGB 12 56 40
HSL 158° 64.71% 13.33%
HSB/HSV 158° 78.57% 21.96%
CMYK 78.57% 0.00% 28.57%
78.04%

Color #0C3828 in popluar number systems.

HEX 0C 38 28
Decimal 12 56 40
Binary 1100 111000 101000
Octal 14 70 50

Shades and tints

Shades of #0C3828

#0C3828
(12,56,40)
#0B3325
(11,51,37)
#0A2E22
(10,46,34)
#09291F
(9,41,31)
#08241C
(8,36,28)
#071F19
(7,31,25)
#061A16
(6,26,22)
#051513
(5,21,19)
#041010
(4,16,16)
#030B0D
(3,11,13)
#02060A
(2,6,10)
#000000
(0,0,0)

Tints of #0C3828

#0C3828
(12,56,40)
#224A3B
(34,74,59)
#385C4E
(56,92,78)
#4E6E61
(78,110,97)
#648074
(100,128,116)
#7A9287
(122,146,135)
#90A49A
(144,164,154)
#A6B6AD
(166,182,173)
#BCC8C0
(188,200,192)
#D2DAD3
(210,218,211)
#E8ECE6
(232,236,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C3828; }

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

This text font color is #0C3828.

Background Color

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

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

This div background color is #0C3828.

Border color

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

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

This div border color is #0C3828.

Opacity

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

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

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

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

This text has shadow with #0C3828 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C3828.

Preview

Color preview on black background

This text has color #0C3828 on black background.


Color preview on white background

This text has color #0C3828 on white background.


Black color preview on #0C3828 background

This text has black color on #0C3828 background.


White color preview on #0C3828 background

This text has white color on #0C3828 background.


Related colors

Complementary color

Complementary color for #hex is #F3C7D7.


I love getcolorcode.com

Triadic colors

1 #280C38 and #38280C with #0C3828 are triadic colors.

2 #28380C and #380C28 with #0C3828 are triadic colors.