COLOR #5A336F

HEX: #5A336F
RGB: (90,51,111)

Color info

#5A336F contains mainly red and blue colors. Web safe color of #5A336F is #663366 (or #636).

RGB color model

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

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

RGB channels and saturation

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

90
51
111

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

Portions of RGB colors in percentages

R + G + B =
90 + 51 + 111 = 252 (100%)
R 90 of 252 ~ 35.71%
G 51 of 252 ~ 20.24%
B 111 of 252 ~ 44.05%

%35.71
%20.24
%44.05

CMYK color model

#5A336F color CMYK value is (19,54,0,56).

  • cyan value is 18.92%
  • magenta value is 54.05%
  • yellow value is 0.00%
  • key color value is 56.47%
CMYK:
(19,54,0,56)
C19M54Y0K56 
(19%,54%,0%,56%)
(0.19/0.54/0.00/0.56)	

CMYK percentages

%18.92
%54.05
%0
%56.47

Codes

Color #5A336F in popluar color models

5A336F
RGB9051111
HSL279°37.04%31.76%
HSB/HSV279°54.05%43.53%
CMYK18.92%54.05%0.00%
56.47%

Color #5A336F in popluar number systems.

HEX5A336F
Decimal9051111
Binary10110101100111101111
Octal13263157

Shades and tints

Shades of #5A336F

#5A336F
(90,51,111)
#522F65
(82,47,101)
#4A2B5B
(74,43,91)
#422751
(66,39,81)
#3A2347
(58,35,71)
#321F3D
(50,31,61)
#2A1B33
(42,27,51)
#221729
(34,23,41)
#1A131F
(26,19,31)
#120F15
(18,15,21)
#0A0B0B
(10,11,11)
#000000
(0,0,0)

Tints of #5A336F

#5A336F
(90,51,111)
#69457C
(105,69,124)
#785789
(120,87,137)
#876996
(135,105,150)
#967BA3
(150,123,163)
#A58DB0
(165,141,176)
#B49FBD
(180,159,189)
#C3B1CA
(195,177,202)
#D2C3D7
(210,195,215)
#E1D5E4
(225,213,228)
#F0E7F1
(240,231,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A336F; }

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

This text font color is #5A336F.


Background Color

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

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

This div background color is #5A336F.


Border color

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

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

This div border color is #5A336F.


Opacity

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

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

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

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

This text has shadow with #5A336F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A336F on black background.


Color preview on white background

This text has color #5A336F on white background.



Black color preview on #5A336F background

This text has black color on #5A336F background.


White color preview on #5A336F background

This text has white color on #5A336F background.