COLOR #510F8F

HEX: #510F8F RGB: (81,15,143)

Color info

#510F8F contains mainly blue color. Web safe color of #510F8F is #660099 (or #609).

RGB color model

#510F8F color RGB value is (81,15,143).

RGB: (81,15,143) (32%, 6%, 56%)

RGB channels and saturation

R 81 of 255 = 32%
G 15 of 255 = 6%
B 143 of 255 = 56%

81
15
143

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

Portions of RGB colors in percentages

R + G + B = 81 + 15 + 143 = 239 (100%)
R 81 of 239 ~ 33.89%
G 15 of 239 ~ 6.28%
B 143 of 239 ~ 59.83'%

%33.89
%59.83

CMYK color model

#510F8F color CMYK value is (43,90,0,44).

  • cyan value is 43.36%
  • magenta value is 89.51%
  • yellow value is 0.00%
  • key color value is 43.92%

CMYK: (43,90,0,44)
C43M90Y0K44 (43%, 90%, 0%, 44%)
(0.43 / 0.90 / 0.00 / 0.44)

CMYK percentages

%43.36
%89.51
%0
%43.92

Codes

Color #510F8F in popluar color models

51 0F 8F
RGB 81 15 143
HSL 271° 81.01% 30.98%
HSB/HSV 271° 89.51% 56.08%
CMYK 43.36% 89.51% 0.00%
43.92%

Color #510F8F in popluar number systems.

HEX 51 0F 8F
Decimal 81 15 143
Binary 1010001 1111 10001111
Octal 121 17 217

Shades and tints

Shades of #510F8F

#510F8F
(81,15,143)
#4A0E82
(74,14,130)
#430D75
(67,13,117)
#3C0C68
(60,12,104)
#350B5B
(53,11,91)
#2E0A4E
(46,10,78)
#270941
(39,9,65)
#200834
(32,8,52)
#190727
(25,7,39)
#12061A
(18,6,26)
#0B050D
(11,5,13)
#000000
(0,0,0)

Tints of #510F8F

#510F8F
(81,15,143)
#602499
(96,36,153)
#6F39A3
(111,57,163)
#7E4EAD
(126,78,173)
#8D63B7
(141,99,183)
#9C78C1
(156,120,193)
#AB8DCB
(171,141,203)
#BAA2D5
(186,162,213)
#C9B7DF
(201,183,223)
#D8CCE9
(216,204,233)
#E7E1F3
(231,225,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #510F8F color. Also use rgb(81,15,143) instead hex code.

Text Font Color

.myTextColor { color: #510F8F; }

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

This text font color is #510F8F.

Background Color

.myBgColor { background-color: #510F8F; }

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

This div background color is #510F8F.

Border color

.myBorderColor { border: 1px solid #510F8F; }

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

This div border color is #510F8F.

Opacity

.myOpacity80 { color: #510F8F; opacity: 0.8; }

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

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

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

This text has shadow with #510F8F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #510F8F.

Preview

Color preview on black background

This text has color #510F8F on black background.


Color preview on white background

This text has color #510F8F on white background.


Black color preview on #510F8F background

This text has black color on #510F8F background.


White color preview on #510F8F background

This text has white color on #510F8F background.


Related colors

Complementary color

Complementary color for #hex is #AEF070.


I love getcolorcode.com

Triadic colors

1 #8F510F and #0F8F51 with #510F8F are triadic colors.

2 #8F0F51 and #0F518F with #510F8F are triadic colors.