COLOR #664D8C

HEX: #664D8C
RGB: (102,77,140)

Color info

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

RGB color model

#664D8C color RGB value is (102,77,140).

  • red value is 102;
  • green value is 77;
  • blue value is 140.
RGB:
(102,77,140)
(40%,30%,55%)

RGB channels and saturation

R 102 of 255 = 40%
G 77 of 255 = 30%
B 140 of 255 = 55%

102
77
140

R + G + B ~ 42%. #664D8C is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
102 + 77 + 140 = 319 (100%)
R 102 of 319 ~ 31.97%
G 77 of 319 ~ 24.14%
B 140 of 319 ~ 43.89%

%31.97
%24.14
%43.89

CMYK color model

#664D8C color CMYK value is (27,45,0,45).

  • cyan value is 27.14%
  • magenta value is 45.00%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(27,45,0,45)
C27M45Y0K45 
(27%,45%,0%,45%)
(0.27/0.45/0.00/0.45)	

CMYK percentages

%27.14
%45
%0
%45.1

Codes

Color #664D8C in popluar color models

664D8C
RGB10277140
HSL264°29.03%42.55%
HSB/HSV264°45.00%54.90%
CMYK27.14%45.00%0.00%
45.10%

Color #664D8C in popluar number systems.

HEX664D8C
Decimal10277140
Binary1100110100110110001100
Octal146115214

Shades and tints

Shades of #664D8C

#664D8C
(102,77,140)
#5D4680
(93,70,128)
#543F74
(84,63,116)
#4B3868
(75,56,104)
#42315C
(66,49,92)
#392A50
(57,42,80)
#302344
(48,35,68)
#271C38
(39,28,56)
#1E152C
(30,21,44)
#150E20
(21,14,32)
#0C0714
(12,7,20)
#000000
(0,0,0)

Tints of #664D8C

#664D8C
(102,77,140)
#735D96
(115,93,150)
#806DA0
(128,109,160)
#8D7DAA
(141,125,170)
#9A8DB4
(154,141,180)
#A79DBE
(167,157,190)
#B4ADC8
(180,173,200)
#C1BDD2
(193,189,210)
#CECDDC
(206,205,220)
#DBDDE6
(219,221,230)
#E8EDF0
(232,237,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #664D8C color. Also use rgb(102,77,140) instead hex code.

Text Font Color

.myTextColor { color: #664D8C; }

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

This text font color is #664D8C.


Background Color

.myBgColor { background-color: #664D8C; }

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

This div background color is #664D8C.


Border color

.myBorderColor { border: 1px solid #664D8C; }

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

This div border color is #664D8C.


Opacity

.myOpacity80 { color: #664D8C; opacity: 0.8; }

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

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

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

This text has shadow with #664D8C color.

.textShadow {text-shadow: 3px 3px 1px #664D8C, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #664D8C;
-webkit-box-shadow: 1px 1px 3px 2px #664D8C;
box-shadow:1px 1px 3px 2px #664D8C;">
Div content here</div>
This div box has shadow with color #664D8C.

Preview

Color preview on black background

This text has color #664D8C on black background.


Color preview on white background

This text has color #664D8C on white background.



Black color preview on #664D8C background

This text has black color on #664D8C background.


White color preview on #664D8C background

This text has white color on #664D8C background.