COLOR #5F5F8E

HEX: #5F5F8E
RGB: (95,95,142)

Color info

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

RGB color model

#5F5F8E color RGB value is (95,95,142).

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

RGB channels and saturation

R 95 of 255 = 37%
G 95 of 255 = 37%
B 142 of 255 = 56%

95
95
142

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

Portions of RGB colors in percentages

R + G + B =
95 + 95 + 142 = 332 (100%)
R 95 of 332 ~ 28.61%
G 95 of 332 ~ 28.61%
B 142 of 332 ~ 42.77%

%28.61
%28.61
%42.77

CMYK color model

#5F5F8E color CMYK value is (33,33,0,44).

  • cyan value is 33.10%
  • magenta value is 33.10%
  • yellow value is 0.00%
  • key color value is 44.31%
CMYK:
(33,33,0,44)
C33M33Y0K44 
(33%,33%,0%,44%)
(0.33/0.33/0.00/0.44)	

CMYK percentages

%33.1
%33.1
%0
%44.31

Codes

Color #5F5F8E in popluar color models

5F5F8E
RGB9595142
HSL240°19.83%46.47%
HSB/HSV240°33.10%55.69%
CMYK33.10%33.10%0.00%
44.31%

Color #5F5F8E in popluar number systems.

HEX5F5F8E
Decimal9595142
Binary1011111101111110001110
Octal137137216

Shades and tints

Shades of #5F5F8E

#5F5F8E
(95,95,142)
#575782
(87,87,130)
#4F4F76
(79,79,118)
#47476A
(71,71,106)
#3F3F5E
(63,63,94)
#373752
(55,55,82)
#2F2F46
(47,47,70)
#27273A
(39,39,58)
#1F1F2E
(31,31,46)
#171722
(23,23,34)
#0F0F16
(15,15,22)
#000000
(0,0,0)

Tints of #5F5F8E

#5F5F8E
(95,95,142)
#6D6D98
(109,109,152)
#7B7BA2
(123,123,162)
#8989AC
(137,137,172)
#9797B6
(151,151,182)
#A5A5C0
(165,165,192)
#B3B3CA
(179,179,202)
#C1C1D4
(193,193,212)
#CFCFDE
(207,207,222)
#DDDDE8
(221,221,232)
#EBEBF2
(235,235,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5F5F8E; }

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

This text font color is #5F5F8E.


Background Color

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

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

This div background color is #5F5F8E.


Border color

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

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

This div border color is #5F5F8E.


Opacity

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

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

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

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

This text has shadow with #5F5F8E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F5F8E on black background.


Color preview on white background

This text has color #5F5F8E on white background.



Black color preview on #5F5F8E background

This text has black color on #5F5F8E background.


White color preview on #5F5F8E background

This text has white color on #5F5F8E background.