Html Css Color HEX #662D98 Royal Purple

📋 copy color: '#662D98'

red 102 ◦ green 45 ◦ blue 152

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

Shades of Royal Purple #662D98

Tints of Royal Purple #662D98

RGB

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

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

 BLUE value IS 152 (59.77% from 255) = 50.84%

R = 34.11%
G = 15.05%
B = 50.84%

CMYK

 C value IS 0.33

 M value IS 0.70

 Y value IS 0

 K value IS 0.40

RGB Variations

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

Color information

#662D98 (or 0x662D98) is known color: Royal Purple. HEX triplet: 66, 2D and 98. RGB value is (102,45,152). Sum of RGB (Red+Green+Blue) = 102+45+152=299 (39% of max value = 765). Red value is 102 (40.23% from 255 or 34.11% from 299); Green value is 45 (17.97% from 255 or 15.05% from 299); Blue value is 152 (59.77% from 255 or 50.84% from 299); Max value from RGB is 152 - color contains mainly: blue. Hex color #662D98 is not a web safe color. Web safe color analog (approx): #663399. Inversed color of #662D98 is #99D267. Grayscale: #494949. Windows color (decimal): -10080872 or 9973094. OLE color: 9973094.

HSL color Cylindrical-coordinate representation of color #662D98: hue angle of 271.96º degrees, saturation: 0.54, lightness: 0.39%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #662D98 is Cyan = 0.33, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.40.

Color convert

RGB 102 45 152 -
CMYK 0.33 0.70 0 0.40
HSL 271.96º 0.54% 0.39% -
HSV(B) 271.96º 0.7% 0.6% -
XYZ 12.09 6.97 30.41 -
YUV 74.24 171.88 147.8 -
System Red Green Blue C M Y K H S L
Decimal 102 45 152 0.33 0.70 0 0.40 271.96 0.54 0.39
Hex 66 2D 98 21 46 0 28 110 36 27
Octal 146 55 230 41 106 0 50 420 66 47
Binary 1100110 101101 10011000 100001 1000110 0 101000 100010000 110110 100111

Color Harmonies of #662D98

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #662D98

Black with #662D98

Text Example


Text Example

White with #662D98

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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