COLOR #7F5157

HEX: #7F5157 RGB: (127,81,87)

Color info

#7F5157 contains red, green and blue colors in about the same proportion. Web safe color of #7F5157 is #666666 (or #666).

RGB color model

#7F5157 color RGB value is (127,81,87).

RGB: (127,81,87) (50%, 32%, 34%)

RGB channels and saturation

R 127 of 255 = 50%
G 81 of 255 = 32%
B 87 of 255 = 34%

127
81
87

R + G + B ~ 39%. #7F5157 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 127 + 81 + 87 = 295 (100%)
R 127 of 295 ~ 43.05%
G 81 of 295 ~ 27.46%
B 87 of 295 ~ 29.49'%

%43.05
%27.46
%29.49

CMYK color model

#7F5157 color CMYK value is (0,36,31,50).

  • cyan value is 0.00%
  • magenta value is 36.22%
  • yellow value is 31.50%
  • key color value is 50.20%

CMYK: (0,36,31,50)
C0M36Y31K50 (0%, 36%, 31%, 50%)
(0.00 / 0.36 / 0.31 / 0.50)

CMYK percentages

%0
%36.22
%31.5
%50.2

Codes

Color #7F5157 in popluar color models

7F 51 57
RGB 127 81 87
HSL 352° 22.12% 40.78%
HSB/HSV 352° 36.22% 49.80%
CMYK 0.00% 36.22% 31.50%
50.20%

Color #7F5157 in popluar number systems.

HEX 7F 51 57
Decimal 127 81 87
Binary 1111111 1010001 1010111
Octal 177 121 127

Shades and tints

Shades of #7F5157

#7F5157
(127,81,87)
#744A50
(116,74,80)
#694349
(105,67,73)
#5E3C42
(94,60,66)
#53353B
(83,53,59)
#482E34
(72,46,52)
#3D272D
(61,39,45)
#322026
(50,32,38)
#27191F
(39,25,31)
#1C1218
(28,18,24)
#110B11
(17,11,17)
#000000
(0,0,0)

Tints of #7F5157

#7F5157
(127,81,87)
#8A6066
(138,96,102)
#956F75
(149,111,117)
#A07E84
(160,126,132)
#AB8D93
(171,141,147)
#B69CA2
(182,156,162)
#C1ABB1
(193,171,177)
#CCBAC0
(204,186,192)
#D7C9CF
(215,201,207)
#E2D8DE
(226,216,222)
#EDE7ED
(237,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7F5157 color. Also use rgb(127,81,87) instead hex code.

Text Font Color

.myTextColor { color: #7F5157; }

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

This text font color is #7F5157.

Background Color

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

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

This div background color is #7F5157.

Border color

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

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

This div border color is #7F5157.

Opacity

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

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

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

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

This text has shadow with #7F5157 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #7F5157.

Preview

Color preview on black background

This text has color #7F5157 on black background.


Color preview on white background

This text has color #7F5157 on white background.


Black color preview on #7F5157 background

This text has black color on #7F5157 background.


White color preview on #7F5157 background

This text has white color on #7F5157 background.


Related colors

Complementary color

Complementary color for #hex is #80AEA8.


I love getcolorcode.com

Triadic colors

1 #577F51 and #51577F with #7F5157 are triadic colors.

2 #57517F and #517F57 with #7F5157 are triadic colors.