COLOR #7F5F96

HEX: #7F5F96
RGB: (127,95,150)

Color info

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

RGB color model

#7F5F96 color RGB value is (127,95,150).

  • red value is 127;
  • green value is 95;
  • blue value is 150.
RGB:
(127,95,150)
(50%,37%,59%)

RGB channels and saturation

R 127 of 255 = 50%
G 95 of 255 = 37%
B 150 of 255 = 59%

127
95
150

R + G + B ~ 49%. #7F5F96 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
127 + 95 + 150 = 372 (100%)
R 127 of 372 ~ 34.14%
G 95 of 372 ~ 25.54%
B 150 of 372 ~ 40.32%

%34.14
%25.54
%40.32

CMYK color model

#7F5F96 color CMYK value is (15,37,0,41).

  • cyan value is 15.33%
  • magenta value is 36.67%
  • yellow value is 0.00%
  • key color value is 41.18%
CMYK:
(15,37,0,41)
C15M37Y0K41 
(15%,37%,0%,41%)
(0.15/0.37/0.00/0.41)	

CMYK percentages

%15.33
%36.67
%0
%41.18

Codes

Color #7F5F96 in popluar color models

7F5F96
RGB12795150
HSL275°22.45%48.04%
HSB/HSV275°36.67%58.82%
CMYK15.33%36.67%0.00%
41.18%

Color #7F5F96 in popluar number systems.

HEX7F5F96
Decimal12795150
Binary1111111101111110010110
Octal177137226

Shades and tints

Shades of #7F5F96

#7F5F96
(127,95,150)
#745789
(116,87,137)
#694F7C
(105,79,124)
#5E476F
(94,71,111)
#533F62
(83,63,98)
#483755
(72,55,85)
#3D2F48
(61,47,72)
#32273B
(50,39,59)
#271F2E
(39,31,46)
#1C1721
(28,23,33)
#110F14
(17,15,20)
#000000
(0,0,0)

Tints of #7F5F96

#7F5F96
(127,95,150)
#8A6D9F
(138,109,159)
#957BA8
(149,123,168)
#A089B1
(160,137,177)
#AB97BA
(171,151,186)
#B6A5C3
(182,165,195)
#C1B3CC
(193,179,204)
#CCC1D5
(204,193,213)
#D7CFDE
(215,207,222)
#E2DDE7
(226,221,231)
#EDEBF0
(237,235,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7F5F96 color. Also use rgb(127,95,150) instead hex code.

Text Font Color

.myTextColor { color: #7F5F96; }

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

This text font color is #7F5F96.


Background Color

.myBgColor { background-color: #7F5F96; }

<div style="background-color:#7F5F96">Inner text</div>

This div background color is #7F5F96.


Border color

.myBorderColor { border: 1px solid #7F5F96; }

<div style="border:3px solid #7F5F96">Div</div>

This div border color is #7F5F96.


Opacity

.myOpacity80 { color: #7F5F96; opacity: 0.8; }

<p style="color:#7F5F96;opacity:0.8;">80%</p>

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

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

This text has shadow with #7F5F96 color.

.textShadow {text-shadow: 3px 3px 1px #7F5F96, 3px 3px 1px red;}

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

This text has shadow with #7F5F96 primary color and red secondary color.


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

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

This text has shadow with #7F5F96 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7F5F96 on black background.


Color preview on white background

This text has color #7F5F96 on white background.



Black color preview on #7F5F96 background

This text has black color on #7F5F96 background.


White color preview on #7F5F96 background

This text has white color on #7F5F96 background.