COLOR #052812

HEX: #052812 RGB: (5,40,18)

Color info

#052812 contains red, green and blue colors in about the same proportion. Web safe color of #052812 is #003300 (or #030).

RGB color model

#052812 color RGB value is (5,40,18).

RGB: (5,40,18) (2%, 16%, 7%)

RGB channels and saturation

R 5 of 255 = 2%
G 40 of 255 = 16%
B 18 of 255 = 7%

5
40
18

R + G + B ~ 8%. #052812 is dark color.

Portions of RGB colors in percentages

R + G + B = 5 + 40 + 18 = 63 (100%)
R 5 of 63 ~ 7.94%
G 40 of 63 ~ 63.49%
B 18 of 63 ~ 28.57'%

%63.49
%28.57

CMYK color model

#052812 color CMYK value is (88,0,55,84).

  • cyan value is 87.50%
  • magenta value is 0.00%
  • yellow value is 55.00%
  • key color value is 84.31%

CMYK: (88,0,55,84)
C88M0Y55K84 (88%, 0%, 55%, 84%)
(0.88 / 0.00 / 0.55 / 0.84)

CMYK percentages

%87.5
%0
%55
%84.31

Codes

Color #052812 in popluar color models

05 28 12
RGB 5 40 18
HSL 142° 77.78% 8.82%
HSB/HSV 142° 87.50% 15.69%
CMYK 87.50% 0.00% 55.00%
84.31%

Color #052812 in popluar number systems.

HEX 05 28 12
Decimal 5 40 18
Binary 101 101000 10010
Octal 5 50 22

Shades and tints

Shades of #052812

#052812
(5,40,18)
#052511
(5,37,17)
#052210
(5,34,16)
#051F0F
(5,31,15)
#051C0E
(5,28,14)
#05190D
(5,25,13)
#05160C
(5,22,12)
#05130B
(5,19,11)
#05100A
(5,16,10)
#050D09
(5,13,9)
#050A08
(5,10,8)
#000000
(0,0,0)

Tints of #052812

#052812
(5,40,18)
#1B3B27
(27,59,39)
#314E3C
(49,78,60)
#476151
(71,97,81)
#5D7466
(93,116,102)
#73877B
(115,135,123)
#899A90
(137,154,144)
#9FADA5
(159,173,165)
#B5C0BA
(181,192,186)
#CBD3CF
(203,211,207)
#E1E6E4
(225,230,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #052812 color. Also use rgb(5,40,18) instead hex code.

Text Font Color

.myTextColor { color: #052812; }

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

This text font color is #052812.

Background Color

.myBgColor { background-color: #052812; }

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

This div background color is #052812.

Border color

.myBorderColor { border: 1px solid #052812; }

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

This div border color is #052812.

Opacity

.myOpacity80 { color: #052812; opacity: 0.8; }

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

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

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

This text has shadow with #052812 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #052812.

Preview

Color preview on black background

This text has color #052812 on black background.


Color preview on white background

This text has color #052812 on white background.


Black color preview on #052812 background

This text has black color on #052812 background.


White color preview on #052812 background

This text has white color on #052812 background.


Related colors

Complementary color

Complementary color for #hex is #FAD7ED.


I love getcolorcode.com

Triadic colors

1 #120528 and #281205 with #052812 are triadic colors.

2 #122805 and #280512 with #052812 are triadic colors.