Html Css Color HEX #662DA6 Royal Purple

📋 copy color: '#662DA6'

red 102 ◦ green 45 ◦ blue 166

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

Shades of Royal Purple #662DA6

Tints of Royal Purple #662DA6

RGB

 RED value IS 102 (40.23% from 255) = 32.59%

 GREEN value IS 45 (17.97% from 255) = 14.38%

 BLUE value IS 166 (65.23% from 255) = 53.04%

R = 32.59%
G = 14.38%
B = 53.04%

CMYK

 C value IS 0.39

 M value IS 0.73

 Y value IS 0

 K value IS 0.35

RGB Variations

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

Color information

#662DA6 (or 0x662DA6) is known color: Royal Purple. HEX triplet: 66, 2D and A6. RGB value is (102,45,166). Sum of RGB (Red+Green+Blue) = 102+45+166=313 (41% of max value = 765). Red value is 102 (40.23% from 255 or 32.59% from 313); Green value is 45 (17.97% from 255 or 14.38% from 313); Blue value is 166 (65.23% from 255 or 53.04% from 313); Max value from RGB is 166 - color contains mainly: blue. Hex color #662DA6 is not a web safe color. Web safe color analog (approx): #663399. Inversed color of #662DA6 is #99D259. Grayscale: #4B4B4B. Windows color (decimal): -10080858 or 10890598. OLE color: 10890598.

HSL color Cylindrical-coordinate representation of color #662DA6: hue angle of 268.26º degrees, saturation: 0.57, lightness: 0.41%. HSV value (or HSB Brightness) of color is 0.65% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #662DA6 is Cyan = 0.39, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.35.

Color convert

RGB 102 45 166 -
CMYK 0.39 0.73 0 0.35
HSL 268.26º 0.57% 0.41% -
HSV(B) 268.26º 0.73% 0.65% -
XYZ 13.3 7.45 36.81 -
YUV 75.84 178.88 146.66 -
System Red Green Blue C M Y K H S L
Decimal 102 45 166 0.39 0.73 0 0.35 268.26 0.57 0.41
Hex 66 2D A6 27 49 0 23 10C 39 29
Octal 146 55 246 47 111 0 43 414 71 51
Binary 1100110 101101 10100110 100111 1001001 0 100011 100001100 111001 101001

Color Harmonies of #662DA6

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #662DA6

Black with #662DA6

Text Example


Text Example

White with #662DA6

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #662DA6; }

 p { color: rgb(102,45,166); }

 H1.HeaderClassName
 {
   color: #662DA6;
 }
 .AnyTagClassName
 {
   color: #662DA6;
 }
</style>

background-color css

<style>
 a { background-color: #662DA6; }

 a { background-color: rgb(102,45,166); }

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

border-color css

<style>
 span { border-color: #662DA6; }

 span { border-color: rgb(102,45,166); }

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