COLOR #5A335A

HEX: #5A335A
RGB: (90,51,90)

Color info

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

RGB color model

#5A335A color RGB value is (90,51,90).

  • red value is 90;
  • green value is 51;
  • blue value is 90.
RGB:
(90,51,90)
(35%,20%,35%)

RGB channels and saturation

R 90 of 255 = 35%
G 51 of 255 = 20%
B 90 of 255 = 35%

90
51
90

R + G + B ~ 30%. #5A335A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 51 + 90 = 231 (100%)
R 90 of 231 ~ 38.96%
G 51 of 231 ~ 22.08%
B 90 of 231 ~ 38.96%

%38.96
%22.08
%38.96

CMYK color model

#5A335A color CMYK value is (0,43,0,65).

  • cyan value is 0.00%
  • magenta value is 43.33%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK:
(0,43,0,65)
C0M43Y0K65 
(0%,43%,0%,65%)
(0.00/0.43/0.00/0.65)	

CMYK percentages

%0
%43.33
%0
%64.71

Codes

Color #5A335A in popluar color models

5A335A
RGB905190
HSL300°27.66%27.65%
HSB/HSV300°43.33%35.29%
CMYK0.00%43.33%0.00%
64.71%

Color #5A335A in popluar number systems.

HEX5A335A
Decimal905190
Binary10110101100111011010
Octal13263132

Shades and tints

Shades of #5A335A

#5A335A
(90,51,90)
#522F52
(82,47,82)
#4A2B4A
(74,43,74)
#422742
(66,39,66)
#3A233A
(58,35,58)
#321F32
(50,31,50)
#2A1B2A
(42,27,42)
#221722
(34,23,34)
#1A131A
(26,19,26)
#120F12
(18,15,18)
#0A0B0A
(10,11,10)
#000000
(0,0,0)

Tints of #5A335A

#5A335A
(90,51,90)
#694569
(105,69,105)
#785778
(120,87,120)
#876987
(135,105,135)
#967B96
(150,123,150)
#A58DA5
(165,141,165)
#B49FB4
(180,159,180)
#C3B1C3
(195,177,195)
#D2C3D2
(210,195,210)
#E1D5E1
(225,213,225)
#F0E7F0
(240,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A335A; }

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

This text font color is #5A335A.


Background Color

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

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

This div background color is #5A335A.


Border color

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

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

This div border color is #5A335A.


Opacity

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

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

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

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

This text has shadow with #5A335A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A335A on black background.


Color preview on white background

This text has color #5A335A on white background.



Black color preview on #5A335A background

This text has black color on #5A335A background.


White color preview on #5A335A background

This text has white color on #5A335A background.