Html Css Color HEX #5A21A2 Royal Purple

📋 copy color: '#5A21A2'

red 90 ◦ green 33 ◦ blue 162

#5A21A2
Download Color Icon.PNG:
16x16 32x32 64x64 128x128 256x256

Shades of Royal Purple #5A21A2

Tints of Royal Purple #5A21A2

RGB

 RED value IS 90 (35.55% from 255) = 31.58%

 GREEN value IS 33 (13.28% from 255) = 11.58%

 BLUE value IS 162 (63.67% from 255) = 56.84%

R = 31.58%
G = 11.58%
B = 56.84%

CMYK

 C value IS 0.44

 M value IS 0.80

 Y value IS 0

 K value IS 0.36

RGB Variations

RGB:
RBG:
GRB:
GBR:
BRG:
BGR:

Color information

#5A21A2 (or 0x5A21A2) is known color: Royal Purple. HEX triplet: 5A, 21 and A2. RGB value is (90,33,162). Sum of RGB (Red+Green+Blue) = 90+33+162=285 (37% of max value = 765). Red value is 90 (35.55% from 255 or 31.58% from 285); Green value is 33 (13.28% from 255 or 11.58% from 285); Blue value is 162 (63.67% from 255 or 56.84% from 285); Max value from RGB is 162 - color contains mainly: blue. Hex color #5A21A2 is not a web safe color. Web safe color analog (approx): #663399. Inversed color of #5A21A2 is #A5DE5D. Grayscale: #404040. Windows color (decimal): -10870366 or 10625370. OLE color: 10625370.

HSL color Cylindrical-coordinate representation of color #5A21A2: hue angle of 266.51º degrees, saturation: 0.66, lightness: 0.38%. HSV value (or HSB Brightness) of color is 0.64% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #5A21A2 is Cyan = 0.44, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.36.

Color convert

RGB 90 33 162 -
CMYK 0.44 0.80 0 0.36
HSL 266.51º 0.66% 0.38% -
HSV(B) 266.51º 0.8% 0.64% -
XYZ 11.28 5.87 34.72 -
YUV 64.75 182.88 146.01 -
System Red Green Blue C M Y K H S L
Decimal 90 33 162 0.44 0.80 0 0.36 266.51 0.66 0.38
Hex 5A 21 A2 2C 50 0 24 10B 42 26
Octal 132 41 242 54 120 0 44 413 102 46
Binary 1011010 100001 10100010 101100 1010000 0 100100 100001011 1000010 100110

Color Harmonies of #5A21A2

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #5A21A2

Black with #5A21A2

Text Example


Text Example

White with #5A21A2

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #5A21A2; }

 p { color: rgb(90,33,162); }

 H1.HeaderClassName
 {
   color: #5A21A2;
 }
 .AnyTagClassName
 {
   color: #5A21A2;
 }
</style>

background-color css

<style>
 a { background-color: #5A21A2; }

 a { background-color: rgb(90,33,162); }

 div.DivClassName
 {
   background-color: #5A21A2;
 }
 .BgClassName
 {
   background-color: #5A21A2;
 }
</style>

border-color css

<style>
 span { border-color: #5A21A2; }

 span { border-color: rgb(90,33,162); }

 td.TdClassName
 {
   border-color: #5A21A2;
 }
 .TagClassName
 {
   border-color: #5A21A2;
 }
</style>