COLOR #5F5F7D

HEX: #5F5F7D
RGB: (95,95,125)

Color info

#5F5F7D contains red, green and blue colors in about the same proportion. Web safe color of #5F5F7D is #666666 (or #666).

RGB color model

#5F5F7D color RGB value is (95,95,125).

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

RGB channels and saturation

R 95 of 255 = 37%
G 95 of 255 = 37%
B 125 of 255 = 49%

95
95
125

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

Portions of RGB colors in percentages

R + G + B =
95 + 95 + 125 = 315 (100%)
R 95 of 315 ~ 30.16%
G 95 of 315 ~ 30.16%
B 125 of 315 ~ 39.68%

%30.16
%30.16
%39.68

CMYK color model

#5F5F7D color CMYK value is (24,24,0,51).

  • cyan value is 24.00%
  • magenta value is 24.00%
  • yellow value is 0.00%
  • key color value is 50.98%
CMYK:
(24,24,0,51)
C24M24Y0K51 
(24%,24%,0%,51%)
(0.24/0.24/0.00/0.51)	

CMYK percentages

%24
%24
%0
%50.98

Codes

Color #5F5F7D in popluar color models

5F5F7D
RGB9595125
HSL240°13.64%43.14%
HSB/HSV240°24.00%49.02%
CMYK24.00%24.00%0.00%
50.98%

Color #5F5F7D in popluar number systems.

HEX5F5F7D
Decimal9595125
Binary101111110111111111101
Octal137137175

Shades and tints

Shades of #5F5F7D

#5F5F7D
(95,95,125)
#575772
(87,87,114)
#4F4F67
(79,79,103)
#47475C
(71,71,92)
#3F3F51
(63,63,81)
#373746
(55,55,70)
#2F2F3B
(47,47,59)
#272730
(39,39,48)
#1F1F25
(31,31,37)
#17171A
(23,23,26)
#0F0F0F
(15,15,15)
#000000
(0,0,0)

Tints of #5F5F7D

#5F5F7D
(95,95,125)
#6D6D88
(109,109,136)
#7B7B93
(123,123,147)
#89899E
(137,137,158)
#9797A9
(151,151,169)
#A5A5B4
(165,165,180)
#B3B3BF
(179,179,191)
#C1C1CA
(193,193,202)
#CFCFD5
(207,207,213)
#DDDDE0
(221,221,224)
#EBEBEB
(235,235,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5F5F7D; }

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

This text font color is #5F5F7D.


Background Color

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

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

This div background color is #5F5F7D.


Border color

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

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

This div border color is #5F5F7D.


Opacity

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

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

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

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

This text has shadow with #5F5F7D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F5F7D on black background.


Color preview on white background

This text has color #5F5F7D on white background.



Black color preview on #5F5F7D background

This text has black color on #5F5F7D background.


White color preview on #5F5F7D background

This text has white color on #5F5F7D background.