COLOR #512574

HEX: #512574 RGB: (81,37,116)

Color info

#512574 contains mainly red and blue colors. Web safe color of #512574 is #663366 (or #636).

RGB color model

#512574 color RGB value is (81,37,116).

RGB: (81,37,116) (32%, 15%, 45%)

RGB channels and saturation

R 81 of 255 = 32%
G 37 of 255 = 15%
B 116 of 255 = 45%

81
37
116

R + G + B ~ 31%. #512574 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 37 + 116 = 234 (100%)
R 81 of 234 ~ 34.62%
G 37 of 234 ~ 15.81%
B 116 of 234 ~ 49.57'%

%34.62
%15.81
%49.57

CMYK color model

#512574 color CMYK value is (30,68,0,55).

  • cyan value is 30.17%
  • magenta value is 68.10%
  • yellow value is 0.00%
  • key color value is 54.51%
CMYK: (30,68,0,55) C30M68Y0K55 (30%,68%,0%,55%) (0.30/0.68/0.00/0.55) 

CMYK percentages

%30.17
%68.1
%0
%54.51

Codes

Color #512574 in popluar color models

51 25 74
RGB 81 37 116
HSL 273° 51.63% 30.00%
HSB/HSV 273° 68.10% 45.49%
CMYK 30.17% 68.10% 0.00%
54.51%

Color #512574 in popluar number systems.

HEX 51 25 74
Decimal 81 37 116
Binary 1010001 100101 1110100
Octal 121 45 164

Shades and tints

Shades of #512574

#512574
(81,37,116)
#4A226A
(74,34,106)
#431F60
(67,31,96)
#3C1C56
(60,28,86)
#35194C
(53,25,76)
#2E1642
(46,22,66)
#271338
(39,19,56)
#20102E
(32,16,46)
#190D24
(25,13,36)
#120A1A
(18,10,26)
#0B0710
(11,7,16)
#000000
(0,0,0)

Tints of #512574

#512574
(81,37,116)
#603880
(96,56,128)
#6F4B8C
(111,75,140)
#7E5E98
(126,94,152)
#8D71A4
(141,113,164)
#9C84B0
(156,132,176)
#AB97BC
(171,151,188)
#BAAAC8
(186,170,200)
#C9BDD4
(201,189,212)
#D8D0E0
(216,208,224)
#E7E3EC
(231,227,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512574 color. Also use rgb(81,37,116) instead hex code.

Text Font Color

.myTextColor { color: #512574; }

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

This text font color is #512574.

Background Color

.myBgColor { background-color: #512574; }

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

This div background color is #512574.

Border color

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

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

This div border color is #512574.

Opacity

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

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

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

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

This text has shadow with #512574 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512574.

Preview

Color preview on black background

This text has color #512574 on black background.


Color preview on white background

This text has color #512574 on white background.


Black color preview on #512574 background

This text has black color on #512574 background.


White color preview on #512574 background

This text has white color on #512574 background.


Related colors

Complementary color

Complementary color for #hex is #AEDA8B.


I love getcolorcode.com

Triadic colors

1 #745125 and #257451 with #512574 are triadic colors.

2 #742551 and #255174 with #512574 are triadic colors.