COLOR #512331

HEX: #512331 RGB: (81,35,49)

Color info

#512331 contains red, green and blue colors in about the same proportion. Web safe color of #512331 is #663333 (or #633).

RGB color model

#512331 color RGB value is (81,35,49).

RGB: (81,35,49) (32%, 14%, 19%)

RGB channels and saturation

R 81 of 255 = 32%
G 35 of 255 = 14%
B 49 of 255 = 19%

81
35
49

R + G + B ~ 22%. #512331 is dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 35 + 49 = 165 (100%)
R 81 of 165 ~ 49.09%
G 35 of 165 ~ 21.21%
B 49 of 165 ~ 29.7'%

%49.09
%21.21
%29.7

CMYK color model

#512331 color CMYK value is (0,57,40,68).

  • cyan value is 0.00%
  • magenta value is 56.79%
  • yellow value is 39.51%
  • key color value is 68.24%
CMYK: (0,57,40,68) C0M57Y40K68 (0%,57%,40%,68%) (0.00/0.57/0.40/0.68) 

CMYK percentages

%0
%56.79
%39.51
%68.24

Codes

Color #512331 in popluar color models

51 23 31
RGB 81 35 49
HSL 342° 39.66% 22.75%
HSB/HSV 342° 56.79% 31.76%
CMYK 0.00% 56.79% 39.51%
68.24%

Color #512331 in popluar number systems.

HEX 51 23 31
Decimal 81 35 49
Binary 1010001 100011 110001
Octal 121 43 61

Shades and tints

Shades of #512331

#512331
(81,35,49)
#4A202D
(74,32,45)
#431D29
(67,29,41)
#3C1A25
(60,26,37)
#351721
(53,23,33)
#2E141D
(46,20,29)
#271119
(39,17,25)
#200E15
(32,14,21)
#190B11
(25,11,17)
#12080D
(18,8,13)
#0B0509
(11,5,9)
#000000
(0,0,0)

Tints of #512331

#512331
(81,35,49)
#603743
(96,55,67)
#6F4B55
(111,75,85)
#7E5F67
(126,95,103)
#8D7379
(141,115,121)
#9C878B
(156,135,139)
#AB9B9D
(171,155,157)
#BAAFAF
(186,175,175)
#C9C3C1
(201,195,193)
#D8D7D3
(216,215,211)
#E7EBE5
(231,235,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512331 color. Also use rgb(81,35,49) instead hex code.

Text Font Color

.myTextColor { color: #512331; }

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

This text font color is #512331.

Background Color

.myBgColor { background-color: #512331; }

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

This div background color is #512331.

Border color

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

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

This div border color is #512331.

Opacity

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

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

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

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

This text has shadow with #512331 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512331.

Preview

Color preview on black background

This text has color #512331 on black background.


Color preview on white background

This text has color #512331 on white background.


Black color preview on #512331 background

This text has black color on #512331 background.


White color preview on #512331 background

This text has white color on #512331 background.


Related colors

Complementary color

Complementary color for #hex is #AEDCCE.


I love getcolorcode.com

Triadic colors

1 #315123 and #233151 with #512331 are triadic colors.

2 #312351 and #235131 with #512331 are triadic colors.