COLOR #662684

HEX: #662684 RGB: (102,38,132)

Color info

#662684 contains mainly red and blue colors. Web safe color of #662684 is #663399 (or #639).

RGB color model

#662684 color RGB value is (102,38,132).

RGB: (102,38,132) (40%, 15%, 52%)

RGB channels and saturation

R 102 of 255 = 40%
G 38 of 255 = 15%
B 132 of 255 = 52%

102
38
132

R + G + B ~ 36%. #662684 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 102 + 38 + 132 = 272 (100%)
R 102 of 272 ~ 37.5%
G 38 of 272 ~ 13.97%
B 132 of 272 ~ 48.53'%

%37.5
%13.97
%48.53

CMYK color model

#662684 color CMYK value is (23,71,0,48).

  • cyan value is 22.73%
  • magenta value is 71.21%
  • yellow value is 0.00%
  • key color value is 48.24%

CMYK: (23,71,0,48)
C23M71Y0K48 (23%, 71%, 0%, 48%)
(0.23 / 0.71 / 0.00 / 0.48)

CMYK percentages

%22.73
%71.21
%0
%48.24

Codes

Color #662684 in popluar color models

66 26 84
RGB 102 38 132
HSL 281° 55.29% 33.33%
HSB/HSV 281° 71.21% 51.76%
CMYK 22.73% 71.21% 0.00%
48.24%

Color #662684 in popluar number systems.

HEX 66 26 84
Decimal 102 38 132
Binary 1100110 100110 10000100
Octal 146 46 204

Shades and tints

Shades of #662684

#662684
(102,38,132)
#5D2378
(93,35,120)
#54206C
(84,32,108)
#4B1D60
(75,29,96)
#421A54
(66,26,84)
#391748
(57,23,72)
#30143C
(48,20,60)
#271130
(39,17,48)
#1E0E24
(30,14,36)
#150B18
(21,11,24)
#0C080C
(12,8,12)
#000000
(0,0,0)

Tints of #662684

#662684
(102,38,132)
#73398F
(115,57,143)
#804C9A
(128,76,154)
#8D5FA5
(141,95,165)
#9A72B0
(154,114,176)
#A785BB
(167,133,187)
#B498C6
(180,152,198)
#C1ABD1
(193,171,209)
#CEBEDC
(206,190,220)
#DBD1E7
(219,209,231)
#E8E4F2
(232,228,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #662684 color. Also use rgb(102,38,132) instead hex code.

Text Font Color

.myTextColor { color: #662684; }

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

This text font color is #662684.

Background Color

.myBgColor { background-color: #662684; }

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

This div background color is #662684.

Border color

.myBorderColor { border: 1px solid #662684; }

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

This div border color is #662684.

Opacity

.myOpacity80 { color: #662684; opacity: 0.8; }

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

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

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

This text has shadow with #662684 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #662684.

Preview

Color preview on black background

This text has color #662684 on black background.


Color preview on white background

This text has color #662684 on white background.


Black color preview on #662684 background

This text has black color on #662684 background.


White color preview on #662684 background

This text has white color on #662684 background.


Related colors

Complementary color

Complementary color for #hex is #99D97B.


I love getcolorcode.com

Triadic colors

1 #846626 and #268466 with #662684 are triadic colors.

2 #842666 and #266684 with #662684 are triadic colors.