COLOR #5A336E

HEX: #5A336E RGB: (90,51,110)

Color info

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

RGB color model

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

RGB: (90,51,110) (35%, 20%, 43%)

RGB channels and saturation

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

90
51
110

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

Portions of RGB colors in percentages

R + G + B = 90 + 51 + 110 = 251 (100%)
R 90 of 251 ~ 35.86%
G 51 of 251 ~ 20.32%
B 110 of 251 ~ 43.82'%

%35.86
%20.32
%43.82

CMYK color model

#5A336E color CMYK value is (18,54,0,57).

  • cyan value is 18.18%
  • magenta value is 53.64%
  • yellow value is 0.00%
  • key color value is 56.86%

CMYK: (18,54,0,57)
C18M54Y0K57 (18%, 54%, 0%, 57%)
(0.18 / 0.54 / 0.00 / 0.57)

CMYK percentages

%18.18
%53.64
%0
%56.86

Codes

Color #5A336E in popluar color models

5A 33 6E
RGB 90 51 110
HSL 280° 36.65% 31.57%
HSB/HSV 280° 53.64% 43.14%
CMYK 18.18% 53.64% 0.00%
56.86%

Color #5A336E in popluar number systems.

HEX 5A 33 6E
Decimal 90 51 110
Binary 1011010 110011 1101110
Octal 132 63 156

Shades and tints

Shades of #5A336E

#5A336E
(90,51,110)
#522F64
(82,47,100)
#4A2B5A
(74,43,90)
#422750
(66,39,80)
#3A2346
(58,35,70)
#321F3C
(50,31,60)
#2A1B32
(42,27,50)
#221728
(34,23,40)
#1A131E
(26,19,30)
#120F14
(18,15,20)
#0A0B0A
(10,11,10)
#000000
(0,0,0)

Tints of #5A336E

#5A336E
(90,51,110)
#69457B
(105,69,123)
#785788
(120,87,136)
#876995
(135,105,149)
#967BA2
(150,123,162)
#A58DAF
(165,141,175)
#B49FBC
(180,159,188)
#C3B1C9
(195,177,201)
#D2C3D6
(210,195,214)
#E1D5E3
(225,213,227)
#F0E7F0
(240,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A336E; }

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

This text font color is #5A336E.

Background Color

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

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

This div background color is #5A336E.

Border color

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

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

This div border color is #5A336E.

Opacity

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

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

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

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

This text has shadow with #5A336E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A336E.

Preview

Color preview on black background

This text has color #5A336E on black background.


Color preview on white background

This text has color #5A336E on white background.


Black color preview on #5A336E background

This text has black color on #5A336E background.


White color preview on #5A336E background

This text has white color on #5A336E background.


Related colors

Complementary color

Complementary color for #hex is #A5CC91.


I love getcolorcode.com

Triadic colors

1 #6E5A33 and #336E5A with #5A336E are triadic colors.

2 #6E335A and #335A6E with #5A336E are triadic colors.