COLOR #5F3197

HEX: #5F3197
RGB: (95,49,151)

Color info

#5F3197 contains mainly red and blue colors. Web safe color of #5F3197 is #663399 (or #639).

RGB color model

#5F3197 color RGB value is (95,49,151).

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

RGB channels and saturation

R 95 of 255 = 37%
G 49 of 255 = 19%
B 151 of 255 = 59%

95
49
151

R + G + B ~ 38%. #5F3197 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
95 + 49 + 151 = 295 (100%)
R 95 of 295 ~ 32.2%
G 49 of 295 ~ 16.61%
B 151 of 295 ~ 51.19%

%32.2
%16.61
%51.19

CMYK color model

#5F3197 color CMYK value is (37,68,0,41).

  • cyan value is 37.09%
  • magenta value is 67.55%
  • yellow value is 0.00%
  • key color value is 40.78%
CMYK:
(37,68,0,41)
C37M68Y0K41 
(37%,68%,0%,41%)
(0.37/0.68/0.00/0.41)	

CMYK percentages

%37.09
%67.55
%0
%40.78

Codes

Color #5F3197 in popluar color models

5F3197
RGB9549151
HSL267°51.00%39.22%
HSB/HSV267°67.55%59.22%
CMYK37.09%67.55%0.00%
40.78%

Color #5F3197 in popluar number systems.

HEX5F3197
Decimal9549151
Binary101111111000110010111
Octal13761227

Shades and tints

Shades of #5F3197

#5F3197
(95,49,151)
#572D8A
(87,45,138)
#4F297D
(79,41,125)
#472570
(71,37,112)
#3F2163
(63,33,99)
#371D56
(55,29,86)
#2F1949
(47,25,73)
#27153C
(39,21,60)
#1F112F
(31,17,47)
#170D22
(23,13,34)
#0F0915
(15,9,21)
#000000
(0,0,0)

Tints of #5F3197

#5F3197
(95,49,151)
#6D43A0
(109,67,160)
#7B55A9
(123,85,169)
#8967B2
(137,103,178)
#9779BB
(151,121,187)
#A58BC4
(165,139,196)
#B39DCD
(179,157,205)
#C1AFD6
(193,175,214)
#CFC1DF
(207,193,223)
#DDD3E8
(221,211,232)
#EBE5F1
(235,229,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5F3197; }

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

This text font color is #5F3197.


Background Color

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

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

This div background color is #5F3197.


Border color

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

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

This div border color is #5F3197.


Opacity

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

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

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

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

This text has shadow with #5F3197 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F3197 on black background.


Color preview on white background

This text has color #5F3197 on white background.



Black color preview on #5F3197 background

This text has black color on #5F3197 background.


White color preview on #5F3197 background

This text has white color on #5F3197 background.