COLOR #5F4987

HEX: #5F4987
RGB: (95,73,135)

Color info

#5F4987 contains mainly red and blue colors. Web safe color of #5F4987 is #663399 (or #639).

RGB color model

#5F4987 color RGB value is (95,73,135).

  • red value is 95;
  • green value is 73;
  • blue value is 135.
RGB:
(95,73,135)
(37%,29%,53%)

RGB channels and saturation

R 95 of 255 = 37%
G 73 of 255 = 29%
B 135 of 255 = 53%

95
73
135

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

Portions of RGB colors in percentages

R + G + B =
95 + 73 + 135 = 303 (100%)
R 95 of 303 ~ 31.35%
G 73 of 303 ~ 24.09%
B 135 of 303 ~ 44.55%

%31.35
%24.09
%44.55

CMYK color model

#5F4987 color CMYK value is (30,46,0,47).

  • cyan value is 29.63%
  • magenta value is 45.93%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK:
(30,46,0,47)
C30M46Y0K47 
(30%,46%,0%,47%)
(0.30/0.46/0.00/0.47)	

CMYK percentages

%29.63
%45.93
%0
%47.06

Codes

Color #5F4987 in popluar color models

5F4987
RGB9573135
HSL261°29.81%40.78%
HSB/HSV261°45.93%52.94%
CMYK29.63%45.93%0.00%
47.06%

Color #5F4987 in popluar number systems.

HEX5F4987
Decimal9573135
Binary1011111100100110000111
Octal137111207

Shades and tints

Shades of #5F4987

#5F4987
(95,73,135)
#57437B
(87,67,123)
#4F3D6F
(79,61,111)
#473763
(71,55,99)
#3F3157
(63,49,87)
#372B4B
(55,43,75)
#2F253F
(47,37,63)
#271F33
(39,31,51)
#1F1927
(31,25,39)
#17131B
(23,19,27)
#0F0D0F
(15,13,15)
#000000
(0,0,0)

Tints of #5F4987

#5F4987
(95,73,135)
#6D5991
(109,89,145)
#7B699B
(123,105,155)
#8979A5
(137,121,165)
#9789AF
(151,137,175)
#A599B9
(165,153,185)
#B3A9C3
(179,169,195)
#C1B9CD
(193,185,205)
#CFC9D7
(207,201,215)
#DDD9E1
(221,217,225)
#EBE9EB
(235,233,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F4987 color. Also use rgb(95,73,135) instead hex code.

Text Font Color

.myTextColor { color: #5F4987; }

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

This text font color is #5F4987.


Background Color

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

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

This div background color is #5F4987.


Border color

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

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

This div border color is #5F4987.


Opacity

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

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

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

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

This text has shadow with #5F4987 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F4987 on black background.


Color preview on white background

This text has color #5F4987 on white background.



Black color preview on #5F4987 background

This text has black color on #5F4987 background.


White color preview on #5F4987 background

This text has white color on #5F4987 background.