COLOR #5F518F

HEX: #5F518F
RGB: (95,81,143)

Color info

#5F518F contains mainly red and blue colors. Web safe color of #5F518F is #666699 (or #669).

RGB color model

#5F518F color RGB value is (95,81,143).

  • red value is 95;
  • green value is 81;
  • blue value is 143.
RGB:
(95,81,143)
(37%,32%,56%)

RGB channels and saturation

R 95 of 255 = 37%
G 81 of 255 = 32%
B 143 of 255 = 56%

95
81
143

R + G + B ~ 42%. #5F518F is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
95 + 81 + 143 = 319 (100%)
R 95 of 319 ~ 29.78%
G 81 of 319 ~ 25.39%
B 143 of 319 ~ 44.83%

%29.78
%25.39
%44.83

CMYK color model

#5F518F color CMYK value is (34,43,0,44).

  • cyan value is 33.57%
  • magenta value is 43.36%
  • yellow value is 0.00%
  • key color value is 43.92%
CMYK:
(34,43,0,44)
C34M43Y0K44 
(34%,43%,0%,44%)
(0.34/0.43/0.00/0.44)	

CMYK percentages

%33.57
%43.36
%0
%43.92

Codes

Color #5F518F in popluar color models

5F518F
RGB9581143
HSL254°27.68%43.92%
HSB/HSV254°43.36%56.08%
CMYK33.57%43.36%0.00%
43.92%

Color #5F518F in popluar number systems.

HEX5F518F
Decimal9581143
Binary1011111101000110001111
Octal137121217

Shades and tints

Shades of #5F518F

#5F518F
(95,81,143)
#574A82
(87,74,130)
#4F4375
(79,67,117)
#473C68
(71,60,104)
#3F355B
(63,53,91)
#372E4E
(55,46,78)
#2F2741
(47,39,65)
#272034
(39,32,52)
#1F1927
(31,25,39)
#17121A
(23,18,26)
#0F0B0D
(15,11,13)
#000000
(0,0,0)

Tints of #5F518F

#5F518F
(95,81,143)
#6D6099
(109,96,153)
#7B6FA3
(123,111,163)
#897EAD
(137,126,173)
#978DB7
(151,141,183)
#A59CC1
(165,156,193)
#B3ABCB
(179,171,203)
#C1BAD5
(193,186,213)
#CFC9DF
(207,201,223)
#DDD8E9
(221,216,233)
#EBE7F3
(235,231,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F518F color. Also use rgb(95,81,143) instead hex code.

Text Font Color

.myTextColor { color: #5F518F; }

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

This text font color is #5F518F.


Background Color

.myBgColor { background-color: #5F518F; }

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

This div background color is #5F518F.


Border color

.myBorderColor { border: 1px solid #5F518F; }

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

This div border color is #5F518F.


Opacity

.myOpacity80 { color: #5F518F; opacity: 0.8; }

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

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

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

This text has shadow with #5F518F color.

.textShadow {text-shadow: 3px 3px 1px #5F518F, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #5F518F;
-webkit-box-shadow: 1px 1px 3px 2px #5F518F;
box-shadow:1px 1px 3px 2px #5F518F;">
Div content here</div>
This div box has shadow with color #5F518F.

Preview

Color preview on black background

This text has color #5F518F on black background.


Color preview on white background

This text has color #5F518F on white background.



Black color preview on #5F518F background

This text has black color on #5F518F background.


White color preview on #5F518F background

This text has white color on #5F518F background.