COLOR #5A386C

HEX: #5A386C
RGB: (90,56,108)

Color info

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

RGB color model

#5A386C color RGB value is (90,56,108).

  • red value is 90;
  • green value is 56;
  • blue value is 108.
RGB:
(90,56,108)
(35%,22%,42%)

RGB channels and saturation

R 90 of 255 = 35%
G 56 of 255 = 22%
B 108 of 255 = 42%

90
56
108

R + G + B ~ 33%. #5A386C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 56 + 108 = 254 (100%)
R 90 of 254 ~ 35.43%
G 56 of 254 ~ 22.05%
B 108 of 254 ~ 42.52%

%35.43
%22.05
%42.52

CMYK color model

#5A386C color CMYK value is (17,48,0,58).

  • cyan value is 16.67%
  • magenta value is 48.15%
  • yellow value is 0.00%
  • key color value is 57.65%
CMYK:
(17,48,0,58)
C17M48Y0K58 
(17%,48%,0%,58%)
(0.17/0.48/0.00/0.58)	

CMYK percentages

%16.67
%48.15
%0
%57.65

Codes

Color #5A386C in popluar color models

5A386C
RGB9056108
HSL279°31.71%32.16%
HSB/HSV279°48.15%42.35%
CMYK16.67%48.15%0.00%
57.65%

Color #5A386C in popluar number systems.

HEX5A386C
Decimal9056108
Binary10110101110001101100
Octal13270154

Shades and tints

Shades of #5A386C

#5A386C
(90,56,108)
#523363
(82,51,99)
#4A2E5A
(74,46,90)
#422951
(66,41,81)
#3A2448
(58,36,72)
#321F3F
(50,31,63)
#2A1A36
(42,26,54)
#22152D
(34,21,45)
#1A1024
(26,16,36)
#120B1B
(18,11,27)
#0A0612
(10,6,18)
#000000
(0,0,0)

Tints of #5A386C

#5A386C
(90,56,108)
#694A79
(105,74,121)
#785C86
(120,92,134)
#876E93
(135,110,147)
#9680A0
(150,128,160)
#A592AD
(165,146,173)
#B4A4BA
(180,164,186)
#C3B6C7
(195,182,199)
#D2C8D4
(210,200,212)
#E1DAE1
(225,218,225)
#F0ECEE
(240,236,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A386C color. Also use rgb(90,56,108) instead hex code.

Text Font Color

.myTextColor { color: #5A386C; }

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

This text font color is #5A386C.


Background Color

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

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

This div background color is #5A386C.


Border color

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

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

This div border color is #5A386C.


Opacity

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

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

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

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

This text has shadow with #5A386C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A386C on black background.


Color preview on white background

This text has color #5A386C on white background.



Black color preview on #5A386C background

This text has black color on #5A386C background.


White color preview on #5A386C background

This text has white color on #5A386C background.