COLOR #5F337C

HEX: #5F337C
RGB: (95,51,124)

Color info

#5F337C contains mainly red and blue colors. Web safe color of #5F337C is #663366 (or #636).

RGB color model

#5F337C color RGB value is (95,51,124).

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

RGB channels and saturation

R 95 of 255 = 37%
G 51 of 255 = 20%
B 124 of 255 = 49%

95
51
124

R + G + B ~ 35%. #5F337C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
95 + 51 + 124 = 270 (100%)
R 95 of 270 ~ 35.19%
G 51 of 270 ~ 18.89%
B 124 of 270 ~ 45.93%

%35.19
%18.89
%45.93

CMYK color model

#5F337C color CMYK value is (23,59,0,51).

  • cyan value is 23.39%
  • magenta value is 58.87%
  • yellow value is 0.00%
  • key color value is 51.37%
CMYK:
(23,59,0,51)
C23M59Y0K51 
(23%,59%,0%,51%)
(0.23/0.59/0.00/0.51)	

CMYK percentages

%23.39
%58.87
%0
%51.37

Codes

Color #5F337C in popluar color models

5F337C
RGB9551124
HSL276°41.71%34.31%
HSB/HSV276°58.87%48.63%
CMYK23.39%58.87%0.00%
51.37%

Color #5F337C in popluar number systems.

HEX5F337C
Decimal9551124
Binary10111111100111111100
Octal13763174

Shades and tints

Shades of #5F337C

#5F337C
(95,51,124)
#572F71
(87,47,113)
#4F2B66
(79,43,102)
#47275B
(71,39,91)
#3F2350
(63,35,80)
#371F45
(55,31,69)
#2F1B3A
(47,27,58)
#27172F
(39,23,47)
#1F1324
(31,19,36)
#170F19
(23,15,25)
#0F0B0E
(15,11,14)
#000000
(0,0,0)

Tints of #5F337C

#5F337C
(95,51,124)
#6D4587
(109,69,135)
#7B5792
(123,87,146)
#89699D
(137,105,157)
#977BA8
(151,123,168)
#A58DB3
(165,141,179)
#B39FBE
(179,159,190)
#C1B1C9
(193,177,201)
#CFC3D4
(207,195,212)
#DDD5DF
(221,213,223)
#EBE7EA
(235,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5F337C; }

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

This text font color is #5F337C.


Background Color

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

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

This div background color is #5F337C.


Border color

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

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

This div border color is #5F337C.


Opacity

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

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

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

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

This text has shadow with #5F337C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F337C on black background.


Color preview on white background

This text has color #5F337C on white background.



Black color preview on #5F337C background

This text has black color on #5F337C background.


White color preview on #5F337C background

This text has white color on #5F337C background.