COLOR #512D89

HEX: #512D89 RGB: (81,45,137)

Color info

#512D89 contains mainly red and blue colors. Web safe color of #512D89 is #663399 (or #639).

RGB color model

#512D89 color RGB value is (81,45,137).

RGB: (81,45,137) (32%, 18%, 54%)

RGB channels and saturation

R 81 of 255 = 32%
G 45 of 255 = 18%
B 137 of 255 = 54%

81
45
137

R + G + B ~ 35%. #512D89 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 45 + 137 = 263 (100%)
R 81 of 263 ~ 30.8%
G 45 of 263 ~ 17.11%
B 137 of 263 ~ 52.09'%

%30.8
%17.11
%52.09

CMYK color model

#512D89 color CMYK value is (41,67,0,46).

  • cyan value is 40.88%
  • magenta value is 67.15%
  • yellow value is 0.00%
  • key color value is 46.27%
CMYK: (41,67,0,46) C41M67Y0K46 (41%,67%,0%,46%) (0.41/0.67/0.00/0.46) 

CMYK percentages

%40.88
%67.15
%0
%46.27

Codes

Color #512D89 in popluar color models

51 2D 89
RGB 81 45 137
HSL 263° 50.55% 35.69%
HSB/HSV 263° 67.15% 53.73%
CMYK 40.88% 67.15% 0.00%
46.27%

Color #512D89 in popluar number systems.

HEX 51 2D 89
Decimal 81 45 137
Binary 1010001 101101 10001001
Octal 121 55 211

Shades and tints

Shades of #512D89

#512D89
(81,45,137)
#4A297D
(74,41,125)
#432571
(67,37,113)
#3C2165
(60,33,101)
#351D59
(53,29,89)
#2E194D
(46,25,77)
#271541
(39,21,65)
#201135
(32,17,53)
#190D29
(25,13,41)
#12091D
(18,9,29)
#0B0511
(11,5,17)
#000000
(0,0,0)

Tints of #512D89

#512D89
(81,45,137)
#604093
(96,64,147)
#6F539D
(111,83,157)
#7E66A7
(126,102,167)
#8D79B1
(141,121,177)
#9C8CBB
(156,140,187)
#AB9FC5
(171,159,197)
#BAB2CF
(186,178,207)
#C9C5D9
(201,197,217)
#D8D8E3
(216,216,227)
#E7EBED
(231,235,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512D89 color. Also use rgb(81,45,137) instead hex code.

Text Font Color

.myTextColor { color: #512D89; }

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

This text font color is #512D89.

Background Color

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

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

This div background color is #512D89.

Border color

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

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

This div border color is #512D89.

Opacity

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

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

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

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

This text has shadow with #512D89 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512D89.

Preview

Color preview on black background

This text has color #512D89 on black background.


Color preview on white background

This text has color #512D89 on white background.


Black color preview on #512D89 background

This text has black color on #512D89 background.


White color preview on #512D89 background

This text has white color on #512D89 background.


Related colors

Complementary color

Complementary color for #hex is #AED276.


I love getcolorcode.com

Triadic colors

1 #89512D and #2D8951 with #512D89 are triadic colors.

2 #892D51 and #2D5189 with #512D89 are triadic colors.