COLOR #512FA7

HEX: #512FA7 RGB: (81,47,167)

Color info

#512FA7 contains mainly blue color. Web safe color of #512FA7 is #663399 (or #639).

RGB color model

#512FA7 color RGB value is (81,47,167).

RGB: (81,47,167) (32%, 18%, 65%)

RGB channels and saturation

R 81 of 255 = 32%
G 47 of 255 = 18%
B 167 of 255 = 65%

81
47
167

R + G + B ~ 38%. #512FA7 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 47 + 167 = 295 (100%)
R 81 of 295 ~ 27.46%
G 47 of 295 ~ 15.93%
B 167 of 295 ~ 56.61'%

%27.46
%15.93
%56.61

CMYK color model

#512FA7 color CMYK value is (51,72,0,35).

  • cyan value is 51.50%
  • magenta value is 71.86%
  • yellow value is 0.00%
  • key color value is 34.51%

CMYK: (51,72,0,35)
C51M72Y0K35 (51%, 72%, 0%, 35%)
(0.51 / 0.72 / 0.00 / 0.35)

CMYK percentages

%51.5
%71.86
%0
%34.51

Codes

Color #512FA7 in popluar color models

51 2F A7
RGB 81 47 167
HSL 257° 56.07% 41.96%
HSB/HSV 257° 71.86% 65.49%
CMYK 51.50% 71.86% 0.00%
34.51%

Color #512FA7 in popluar number systems.

HEX 51 2F A7
Decimal 81 47 167
Binary 1010001 101111 10100111
Octal 121 57 247

Shades and tints

Shades of #512FA7

#512FA7
(81,47,167)
#4A2B98
(74,43,152)
#432789
(67,39,137)
#3C237A
(60,35,122)
#351F6B
(53,31,107)
#2E1B5C
(46,27,92)
#27174D
(39,23,77)
#20133E
(32,19,62)
#190F2F
(25,15,47)
#120B20
(18,11,32)
#0B0711
(11,7,17)
#000000
(0,0,0)

Tints of #512FA7

#512FA7
(81,47,167)
#6041AF
(96,65,175)
#6F53B7
(111,83,183)
#7E65BF
(126,101,191)
#8D77C7
(141,119,199)
#9C89CF
(156,137,207)
#AB9BD7
(171,155,215)
#BAADDF
(186,173,223)
#C9BFE7
(201,191,231)
#D8D1EF
(216,209,239)
#E7E3F7
(231,227,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512FA7 color. Also use rgb(81,47,167) instead hex code.

Text Font Color

.myTextColor { color: #512FA7; }

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

This text font color is #512FA7.

Background Color

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

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

This div background color is #512FA7.

Border color

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

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

This div border color is #512FA7.

Opacity

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

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

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

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

This text has shadow with #512FA7 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512FA7.

Preview

Color preview on black background

This text has color #512FA7 on black background.


Color preview on white background

This text has color #512FA7 on white background.


Black color preview on #512FA7 background

This text has black color on #512FA7 background.


White color preview on #512FA7 background

This text has white color on #512FA7 background.


Related colors

Complementary color

Complementary color for #512FA7 is #AED058.


I love getcolorcode.com

Triadic colors

1 #A7512F and #2FA751 with #512FA7 are triadic colors.

2 #A72F51 and #2F51A7 with #512FA7 are triadic colors.