COLOR #512118

HEX: #512118 RGB: (81,33,24)

Color info

#512118 contains red, green and blue colors in about the same proportion. Web safe color of #512118 is #663300 (or #630).

RGB color model

#512118 color RGB value is (81,33,24).

RGB: (81,33,24) (32%, 13%, 9%)

RGB channels and saturation

R 81 of 255 = 32%
G 33 of 255 = 13%
B 24 of 255 = 9%

81
33
24

R + G + B ~ 18%. #512118 is dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 33 + 24 = 138 (100%)
R 81 of 138 ~ 58.7%
G 33 of 138 ~ 23.91%
B 24 of 138 ~ 17.39'%

%58.7
%23.91
%17.39

CMYK color model

#512118 color CMYK value is (0,59,70,68).

  • cyan value is 0.00%
  • magenta value is 59.26%
  • yellow value is 70.37%
  • key color value is 68.24%

CMYK: (0,59,70,68)
C0M59Y70K68 (0%, 59%, 70%, 68%)
(0.00 / 0.59 / 0.70 / 0.68)

CMYK percentages

%0
%59.26
%70.37
%68.24

Codes

Color #512118 in popluar color models

51 21 18
RGB 81 33 24
HSL 54.29% 20.59%
HSB/HSV 70.37% 31.76%
CMYK 0.00% 59.26% 70.37%
68.24%

Color #512118 in popluar number systems.

HEX 51 21 18
Decimal 81 33 24
Binary 1010001 100001 11000
Octal 121 41 30

Shades and tints

Shades of #512118

#512118
(81,33,24)
#4A1E16
(74,30,22)
#431B14
(67,27,20)
#3C1812
(60,24,18)
#351510
(53,21,16)
#2E120E
(46,18,14)
#270F0C
(39,15,12)
#200C0A
(32,12,10)
#190908
(25,9,8)
#120606
(18,6,6)
#0B0304
(11,3,4)
#000000
(0,0,0)

Tints of #512118

#512118
(81,33,24)
#60352D
(96,53,45)
#6F4942
(111,73,66)
#7E5D57
(126,93,87)
#8D716C
(141,113,108)
#9C8581
(156,133,129)
#AB9996
(171,153,150)
#BAADAB
(186,173,171)
#C9C1C0
(201,193,192)
#D8D5D5
(216,213,213)
#E7E9EA
(231,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512118 color. Also use rgb(81,33,24) instead hex code.

Text Font Color

.myTextColor { color: #512118; }

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

This text font color is #512118.

Background Color

.myBgColor { background-color: #512118; }

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

This div background color is #512118.

Border color

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

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

This div border color is #512118.

Opacity

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

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

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

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

This text has shadow with #512118 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512118.

Preview

Color preview on black background

This text has color #512118 on black background.


Color preview on white background

This text has color #512118 on white background.


Black color preview on #512118 background

This text has black color on #512118 background.


White color preview on #512118 background

This text has white color on #512118 background.


Related colors

Complementary color

Complementary color for #hex is #AEDEE7.


I love getcolorcode.com

Triadic colors

1 #185121 and #211851 with #512118 are triadic colors.

2 #182151 and #215118 with #512118 are triadic colors.