COLOR #5F5B99

HEX: #5F5B99 RGB: (95,91,153)

Color info

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

RGB color model

#5F5B99 color RGB value is (95,91,153).

RGB: (95,91,153) (37%, 36%, 60%)

RGB channels and saturation

R 95 of 255 = 37%
G 91 of 255 = 36%
B 153 of 255 = 60%

95
91
153

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

Portions of RGB colors in percentages

R + G + B = 95 + 91 + 153 = 339 (100%)
R 95 of 339 ~ 28.02%
G 91 of 339 ~ 26.84%
B 153 of 339 ~ 45.13'%

%28.02
%26.84
%45.13

CMYK color model

#5F5B99 color CMYK value is (38,41,0,40).

  • cyan value is 37.91%
  • magenta value is 40.52%
  • yellow value is 0.00%
  • key color value is 40.00%

CMYK: (38,41,0,40)
C38M41Y0K40 (38%, 41%, 0%, 40%)
(0.38 / 0.41 / 0.00 / 0.40)

CMYK percentages

%37.91
%40.52
%0
%40

Codes

Color #5F5B99 in popluar color models

5F 5B 99
RGB 95 91 153
HSL 244° 25.41% 47.84%
HSB/HSV 244° 40.52% 60.00%
CMYK 37.91% 40.52% 0.00%
40.00%

Color #5F5B99 in popluar number systems.

HEX 5F 5B 99
Decimal 95 91 153
Binary 1011111 1011011 10011001
Octal 137 133 231

Shades and tints

Shades of #5F5B99

#5F5B99
(95,91,153)
#57538C
(87,83,140)
#4F4B7F
(79,75,127)
#474372
(71,67,114)
#3F3B65
(63,59,101)
#373358
(55,51,88)
#2F2B4B
(47,43,75)
#27233E
(39,35,62)
#1F1B31
(31,27,49)
#171324
(23,19,36)
#0F0B17
(15,11,23)
#000000
(0,0,0)

Tints of #5F5B99

#5F5B99
(95,91,153)
#6D69A2
(109,105,162)
#7B77AB
(123,119,171)
#8985B4
(137,133,180)
#9793BD
(151,147,189)
#A5A1C6
(165,161,198)
#B3AFCF
(179,175,207)
#C1BDD8
(193,189,216)
#CFCBE1
(207,203,225)
#DDD9EA
(221,217,234)
#EBE7F3
(235,231,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F5B99 color. Also use rgb(95,91,153) instead hex code.

Text Font Color

.myTextColor { color: #5F5B99; }

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

This text font color is #5F5B99.

Background Color

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

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

This div background color is #5F5B99.

Border color

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

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

This div border color is #5F5B99.

Opacity

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

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

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

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

This text has shadow with #5F5B99 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5F5B99.

Preview

Color preview on black background

This text has color #5F5B99 on black background.


Color preview on white background

This text has color #5F5B99 on white background.


Black color preview on #5F5B99 background

This text has black color on #5F5B99 background.


White color preview on #5F5B99 background

This text has white color on #5F5B99 background.


Related colors

Complementary color

Complementary color for #hex is #A0A466.


I love getcolorcode.com

Triadic colors

1 #995F5B and #5B995F with #5F5B99 are triadic colors.

2 #995B5F and #5B5F99 with #5F5B99 are triadic colors.