COLOR #5F5C8A

HEX: #5F5C8A
RGB: (95,92,138)

Color info

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

RGB color model

#5F5C8A color RGB value is (95,92,138).

  • red value is 95;
  • green value is 92;
  • blue value is 138.
RGB:
(95,92,138)
(37%,36%,54%)

RGB channels and saturation

R 95 of 255 = 37%
G 92 of 255 = 36%
B 138 of 255 = 54%

95
92
138

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

Portions of RGB colors in percentages

R + G + B =
95 + 92 + 138 = 325 (100%)
R 95 of 325 ~ 29.23%
G 92 of 325 ~ 28.31%
B 138 of 325 ~ 42.46%

%29.23
%28.31
%42.46

CMYK color model

#5F5C8A color CMYK value is (31,33,0,46).

  • cyan value is 31.16%
  • magenta value is 33.33%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(31,33,0,46)
C31M33Y0K46 
(31%,33%,0%,46%)
(0.31/0.33/0.00/0.46)	

CMYK percentages

%31.16
%33.33
%0
%45.88

Codes

Color #5F5C8A in popluar color models

5F5C8A
RGB9592138
HSL244°20.00%45.10%
HSB/HSV244°33.33%54.12%
CMYK31.16%33.33%0.00%
45.88%

Color #5F5C8A in popluar number systems.

HEX5F5C8A
Decimal9592138
Binary1011111101110010001010
Octal137134212

Shades and tints

Shades of #5F5C8A

#5F5C8A
(95,92,138)
#57547E
(87,84,126)
#4F4C72
(79,76,114)
#474466
(71,68,102)
#3F3C5A
(63,60,90)
#37344E
(55,52,78)
#2F2C42
(47,44,66)
#272436
(39,36,54)
#1F1C2A
(31,28,42)
#17141E
(23,20,30)
#0F0C12
(15,12,18)
#000000
(0,0,0)

Tints of #5F5C8A

#5F5C8A
(95,92,138)
#6D6A94
(109,106,148)
#7B789E
(123,120,158)
#8986A8
(137,134,168)
#9794B2
(151,148,178)
#A5A2BC
(165,162,188)
#B3B0C6
(179,176,198)
#C1BED0
(193,190,208)
#CFCCDA
(207,204,218)
#DDDAE4
(221,218,228)
#EBE8EE
(235,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5F5C8A; }

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

This text font color is #5F5C8A.


Background Color

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

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

This div background color is #5F5C8A.


Border color

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

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

This div border color is #5F5C8A.


Opacity

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

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

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

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

This text has shadow with #5F5C8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F5C8A on black background.


Color preview on white background

This text has color #5F5C8A on white background.



Black color preview on #5F5C8A background

This text has black color on #5F5C8A background.


White color preview on #5F5C8A background

This text has white color on #5F5C8A background.