COLOR #5A3F51

HEX: #5A3F51
RGB: (90,63,81)

Color info

#5A3F51 contains red, green and blue colors in about the same proportion. Web safe color of #5A3F51 is #663366 (or #636).

RGB color model

#5A3F51 color RGB value is (90,63,81).

  • red value is 90;
  • green value is 63;
  • blue value is 81.
RGB:
(90,63,81)
(35%,25%,32%)

RGB channels and saturation

R 90 of 255 = 35%
G 63 of 255 = 25%
B 81 of 255 = 32%

90
63
81

R + G + B ~ 31%. #5A3F51 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 63 + 81 = 234 (100%)
R 90 of 234 ~ 38.46%
G 63 of 234 ~ 26.92%
B 81 of 234 ~ 34.62%

%38.46
%26.92
%34.62

CMYK color model

#5A3F51 color CMYK value is (0,30,10,65).

  • cyan value is 0.00%
  • magenta value is 30.00%
  • yellow value is 10.00%
  • key color value is 64.71%
CMYK:
(0,30,10,65)
C0M30Y10K65 
(0%,30%,10%,65%)
(0.00/0.30/0.10/0.65)	

CMYK percentages

%0
%30
%10
%64.71

Codes

Color #5A3F51 in popluar color models

5A3F51
RGB906381
HSL320°17.65%30.00%
HSB/HSV320°30.00%35.29%
CMYK0.00%30.00%10.00%
64.71%

Color #5A3F51 in popluar number systems.

HEX5A3F51
Decimal906381
Binary10110101111111010001
Octal13277121

Shades and tints

Shades of #5A3F51

#5A3F51
(90,63,81)
#523A4A
(82,58,74)
#4A3543
(74,53,67)
#42303C
(66,48,60)
#3A2B35
(58,43,53)
#32262E
(50,38,46)
#2A2127
(42,33,39)
#221C20
(34,28,32)
#1A1719
(26,23,25)
#121212
(18,18,18)
#0A0D0B
(10,13,11)
#000000
(0,0,0)

Tints of #5A3F51

#5A3F51
(90,63,81)
#695060
(105,80,96)
#78616F
(120,97,111)
#87727E
(135,114,126)
#96838D
(150,131,141)
#A5949C
(165,148,156)
#B4A5AB
(180,165,171)
#C3B6BA
(195,182,186)
#D2C7C9
(210,199,201)
#E1D8D8
(225,216,216)
#F0E9E7
(240,233,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A3F51 color. Also use rgb(90,63,81) instead hex code.

Text Font Color

.myTextColor { color: #5A3F51; }

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

This text font color is #5A3F51.


Background Color

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

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

This div background color is #5A3F51.


Border color

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

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

This div border color is #5A3F51.


Opacity

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

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

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

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

This text has shadow with #5A3F51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A3F51 on black background.


Color preview on white background

This text has color #5A3F51 on white background.



Black color preview on #5A3F51 background

This text has black color on #5A3F51 background.


White color preview on #5A3F51 background

This text has white color on #5A3F51 background.