COLOR #5F518C

HEX: #5F518C RGB: (95,81,140)

Color info

#5F518C contains red, green and blue colors in about the same proportion. Web safe color of #5F518C is #666699 (or #669).

RGB color model

#5F518C color RGB value is (95,81,140).

RGB: (95,81,140) (37%, 32%, 55%)

RGB channels and saturation

R 95 of 255 = 37%
G 81 of 255 = 32%
B 140 of 255 = 55%

95
81
140

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

Portions of RGB colors in percentages

R + G + B = 95 + 81 + 140 = 316 (100%)
R 95 of 316 ~ 30.06%
G 81 of 316 ~ 25.63%
B 140 of 316 ~ 44.3'%

%30.06
%25.63
%44.3

CMYK color model

#5F518C color CMYK value is (32,42,0,45).

  • cyan value is 32.14%
  • magenta value is 42.14%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK: (32,42,0,45) C32M42Y0K45 (32%,42%,0%,45%) (0.32/0.42/0.00/0.45) 

CMYK percentages

%32.14
%42.14
%0
%45.1

Codes

Color #5F518C in popluar color models

5F 51 8C
RGB 95 81 140
HSL 254° 26.70% 43.33%
HSB/HSV 254° 42.14% 54.90%
CMYK 32.14% 42.14% 0.00%
45.10%

Color #5F518C in popluar number systems.

HEX 5F 51 8C
Decimal 95 81 140
Binary 1011111 1010001 10001100
Octal 137 121 214

Shades and tints

Shades of #5F518C

#5F518C
(95,81,140)
#574A80
(87,74,128)
#4F4374
(79,67,116)
#473C68
(71,60,104)
#3F355C
(63,53,92)
#372E50
(55,46,80)
#2F2744
(47,39,68)
#272038
(39,32,56)
#1F192C
(31,25,44)
#171220
(23,18,32)
#0F0B14
(15,11,20)
#000000
(0,0,0)

Tints of #5F518C

#5F518C
(95,81,140)
#6D6096
(109,96,150)
#7B6FA0
(123,111,160)
#897EAA
(137,126,170)
#978DB4
(151,141,180)
#A59CBE
(165,156,190)
#B3ABC8
(179,171,200)
#C1BAD2
(193,186,210)
#CFC9DC
(207,201,220)
#DDD8E6
(221,216,230)
#EBE7F0
(235,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5F518C; }

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

This text font color is #5F518C.

Background Color

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

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

This div background color is #5F518C.

Border color

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

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

This div border color is #5F518C.

Opacity

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

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

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

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

This text has shadow with #5F518C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5F518C.

Preview

Color preview on black background

This text has color #5F518C on black background.


Color preview on white background

This text has color #5F518C on white background.


Black color preview on #5F518C background

This text has black color on #5F518C background.


White color preview on #5F518C background

This text has white color on #5F518C background.


Related colors

Complementary color

Complementary color for #hex is #A0AE73.


I love getcolorcode.com

Triadic colors

1 #8C5F51 and #518C5F with #5F518C are triadic colors.

2 #8C515F and #515F8C with #5F518C are triadic colors.