COLOR #7F5F9A

HEX: #7F5F9A
RGB: (127,95,154)

Color info

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

RGB color model

#7F5F9A color RGB value is (127,95,154).

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

RGB channels and saturation

R 127 of 255 = 50%
G 95 of 255 = 37%
B 154 of 255 = 60%

127
95
154

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

Portions of RGB colors in percentages

R + G + B =
127 + 95 + 154 = 376 (100%)
R 127 of 376 ~ 33.78%
G 95 of 376 ~ 25.27%
B 154 of 376 ~ 40.96%

%33.78
%25.27
%40.96

CMYK color model

#7F5F9A color CMYK value is (18,38,0,40).

  • cyan value is 17.53%
  • magenta value is 38.31%
  • yellow value is 0.00%
  • key color value is 39.61%
CMYK:
(18,38,0,40)
C18M38Y0K40 
(18%,38%,0%,40%)
(0.18/0.38/0.00/0.40)	

CMYK percentages

%17.53
%38.31
%0
%39.61

Codes

Color #7F5F9A in popluar color models

7F5F9A
RGB12795154
HSL273°23.69%48.82%
HSB/HSV273°38.31%60.39%
CMYK17.53%38.31%0.00%
39.61%

Color #7F5F9A in popluar number systems.

HEX7F5F9A
Decimal12795154
Binary1111111101111110011010
Octal177137232

Shades and tints

Shades of #7F5F9A

#7F5F9A
(127,95,154)
#74578C
(116,87,140)
#694F7E
(105,79,126)
#5E4770
(94,71,112)
#533F62
(83,63,98)
#483754
(72,55,84)
#3D2F46
(61,47,70)
#322738
(50,39,56)
#271F2A
(39,31,42)
#1C171C
(28,23,28)
#110F0E
(17,15,14)
#000000
(0,0,0)

Tints of #7F5F9A

#7F5F9A
(127,95,154)
#8A6DA3
(138,109,163)
#957BAC
(149,123,172)
#A089B5
(160,137,181)
#AB97BE
(171,151,190)
#B6A5C7
(182,165,199)
#C1B3D0
(193,179,208)
#CCC1D9
(204,193,217)
#D7CFE2
(215,207,226)
#E2DDEB
(226,221,235)
#EDEBF4
(237,235,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #7F5F9A; }

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

This text font color is #7F5F9A.


Background Color

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

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

This div background color is #7F5F9A.


Border color

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

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

This div border color is #7F5F9A.


Opacity

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

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

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

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

This text has shadow with #7F5F9A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7F5F9A on black background.


Color preview on white background

This text has color #7F5F9A on white background.



Black color preview on #7F5F9A background

This text has black color on #7F5F9A background.


White color preview on #7F5F9A background

This text has white color on #7F5F9A background.