COLOR #512B56

HEX: #512B56
RGB: (81,43,86)

Color info

#512B56 contains red, green and blue colors in about the same proportion. Web safe color of #512B56 is #663366 (or #636).

RGB color model

#512B56 color RGB value is (81,43,86).

  • red value is 81;
  • green value is 43;
  • blue value is 86.
RGB:
(81,43,86)
(32%,17%,34%)

RGB channels and saturation

R 81 of 255 = 32%
G 43 of 255 = 17%
B 86 of 255 = 34%

81
43
86

R + G + B ~ 28%. #512B56 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 43 + 86 = 210 (100%)
R 81 of 210 ~ 38.57%
G 43 of 210 ~ 20.48%
B 86 of 210 ~ 40.95%

%38.57
%20.48
%40.95

CMYK color model

#512B56 color CMYK value is (6,50,0,66).

  • cyan value is 5.81%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 66.27%
CMYK:
(6,50,0,66)
C6M50Y0K66 
(6%,50%,0%,66%)
(0.06/0.50/0.00/0.66)	

CMYK percentages

%5.81
%50
%0
%66.27

Codes

Color #512B56 in popluar color models

512B56
RGB814386
HSL293°33.33%25.29%
HSB/HSV293°50.00%33.73%
CMYK5.81%50.00%0.00%
66.27%

Color #512B56 in popluar number systems.

HEX512B56
Decimal814386
Binary10100011010111010110
Octal12153126

Shades and tints

Shades of #512B56

#512B56
(81,43,86)
#4A284F
(74,40,79)
#432548
(67,37,72)
#3C2241
(60,34,65)
#351F3A
(53,31,58)
#2E1C33
(46,28,51)
#27192C
(39,25,44)
#201625
(32,22,37)
#19131E
(25,19,30)
#121017
(18,16,23)
#0B0D10
(11,13,16)
#000000
(0,0,0)

Tints of #512B56

#512B56
(81,43,86)
#603E65
(96,62,101)
#6F5174
(111,81,116)
#7E6483
(126,100,131)
#8D7792
(141,119,146)
#9C8AA1
(156,138,161)
#AB9DB0
(171,157,176)
#BAB0BF
(186,176,191)
#C9C3CE
(201,195,206)
#D8D6DD
(216,214,221)
#E7E9EC
(231,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512B56 color. Also use rgb(81,43,86) instead hex code.

Text Font Color

.myTextColor { color: #512B56; }

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

This text font color is #512B56.


Background Color

.myBgColor { background-color: #512B56; }

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

This div background color is #512B56.


Border color

.myBorderColor { border: 1px solid #512B56; }

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

This div border color is #512B56.


Opacity

.myOpacity80 { color: #512B56; opacity: 0.8; }

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

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

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

This text has shadow with #512B56 color.

.textShadow {text-shadow: 3px 3px 1px #512B56, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #512B56;
-webkit-box-shadow: 1px 1px 3px 2px #512B56;
box-shadow:1px 1px 3px 2px #512B56;">
Div content here</div>
This div box has shadow with color #512B56.

Preview

Color preview on black background

This text has color #512B56 on black background.


Color preview on white background

This text has color #512B56 on white background.



Black color preview on #512B56 background

This text has black color on #512B56 background.


White color preview on #512B56 background

This text has white color on #512B56 background.