COLOR #7F5F8C

HEX: #7F5F8C
RGB: (127,95,140)

Color info

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

RGB color model

#7F5F8C color RGB value is (127,95,140).

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

RGB channels and saturation

R 127 of 255 = 50%
G 95 of 255 = 37%
B 140 of 255 = 55%

127
95
140

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

Portions of RGB colors in percentages

R + G + B =
127 + 95 + 140 = 362 (100%)
R 127 of 362 ~ 35.08%
G 95 of 362 ~ 26.24%
B 140 of 362 ~ 38.67%

%35.08
%26.24
%38.67

CMYK color model

#7F5F8C color CMYK value is (9,32,0,45).

  • cyan value is 9.29%
  • magenta value is 32.14%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(9,32,0,45)
C9M32Y0K45 
(9%,32%,0%,45%)
(0.09/0.32/0.00/0.45)	

CMYK percentages

%9.29
%32.14
%0
%45.1

Codes

Color #7F5F8C in popluar color models

7F5F8C
RGB12795140
HSL283°19.15%46.08%
HSB/HSV283°32.14%54.90%
CMYK9.29%32.14%0.00%
45.10%

Color #7F5F8C in popluar number systems.

HEX7F5F8C
Decimal12795140
Binary1111111101111110001100
Octal177137214

Shades and tints

Shades of #7F5F8C

#7F5F8C
(127,95,140)
#745780
(116,87,128)
#694F74
(105,79,116)
#5E4768
(94,71,104)
#533F5C
(83,63,92)
#483750
(72,55,80)
#3D2F44
(61,47,68)
#322738
(50,39,56)
#271F2C
(39,31,44)
#1C1720
(28,23,32)
#110F14
(17,15,20)
#000000
(0,0,0)

Tints of #7F5F8C

#7F5F8C
(127,95,140)
#8A6D96
(138,109,150)
#957BA0
(149,123,160)
#A089AA
(160,137,170)
#AB97B4
(171,151,180)
#B6A5BE
(182,165,190)
#C1B3C8
(193,179,200)
#CCC1D2
(204,193,210)
#D7CFDC
(215,207,220)
#E2DDE6
(226,221,230)
#EDEBF0
(237,235,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #7F5F8C; }

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

This text font color is #7F5F8C.


Background Color

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

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

This div background color is #7F5F8C.


Border color

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

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

This div border color is #7F5F8C.


Opacity

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

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

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

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

This text has shadow with #7F5F8C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7F5F8C on black background.


Color preview on white background

This text has color #7F5F8C on white background.



Black color preview on #7F5F8C background

This text has black color on #7F5F8C background.


White color preview on #7F5F8C background

This text has white color on #7F5F8C background.