COLOR #512280

HEX: #512280 RGB: (81,34,128)

Color info

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

RGB color model

#512280 color RGB value is (81,34,128).

RGB: (81,34,128) (32%, 13%, 50%)

RGB channels and saturation

R 81 of 255 = 32%
G 34 of 255 = 13%
B 128 of 255 = 50%

81
34
128

R + G + B ~ 32%. #512280 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 34 + 128 = 243 (100%)
R 81 of 243 ~ 33.33%
G 34 of 243 ~ 13.99%
B 128 of 243 ~ 52.67'%

%33.33
%13.99
%52.67

CMYK color model

#512280 color CMYK value is (37,73,0,50).

  • cyan value is 36.72%
  • magenta value is 73.44%
  • yellow value is 0.00%
  • key color value is 49.80%

CMYK: (37,73,0,50)
C37M73Y0K50 (37%, 73%, 0%, 50%)
(0.37 / 0.73 / 0.00 / 0.50)

CMYK percentages

%36.72
%73.44
%0
%49.8

Codes

Color #512280 in popluar color models

51 22 80
RGB 81 34 128
HSL 270° 58.02% 31.76%
HSB/HSV 270° 73.44% 50.20%
CMYK 36.72% 73.44% 0.00%
49.80%

Color #512280 in popluar number systems.

HEX 51 22 80
Decimal 81 34 128
Binary 1010001 100010 10000000
Octal 121 42 200

Shades and tints

Shades of #512280

#512280
(81,34,128)
#4A1F75
(74,31,117)
#431C6A
(67,28,106)
#3C195F
(60,25,95)
#351654
(53,22,84)
#2E1349
(46,19,73)
#27103E
(39,16,62)
#200D33
(32,13,51)
#190A28
(25,10,40)
#12071D
(18,7,29)
#0B0412
(11,4,18)
#000000
(0,0,0)

Tints of #512280

#512280
(81,34,128)
#60368B
(96,54,139)
#6F4A96
(111,74,150)
#7E5EA1
(126,94,161)
#8D72AC
(141,114,172)
#9C86B7
(156,134,183)
#AB9AC2
(171,154,194)
#BAAECD
(186,174,205)
#C9C2D8
(201,194,216)
#D8D6E3
(216,214,227)
#E7EAEE
(231,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512280 color. Also use rgb(81,34,128) instead hex code.

Text Font Color

.myTextColor { color: #512280; }

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

This text font color is #512280.

Background Color

.myBgColor { background-color: #512280; }

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

This div background color is #512280.

Border color

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

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

This div border color is #512280.

Opacity

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

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

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

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

This text has shadow with #512280 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512280.

Preview

Color preview on black background

This text has color #512280 on black background.


Color preview on white background

This text has color #512280 on white background.


Black color preview on #512280 background

This text has black color on #512280 background.


White color preview on #512280 background

This text has white color on #512280 background.


Related colors

Complementary color

Complementary color for #hex is #AEDD7F.


I love getcolorcode.com

Triadic colors

1 #805122 and #228051 with #512280 are triadic colors.

2 #802251 and #225180 with #512280 are triadic colors.