COLOR #645C8A

HEX: #645C8A
RGB: (100,92,138)

Color info

#645C8A contains red, green and blue colors in about the same proportion. Web safe color of #645C8A is #666699 (or #669).

RGB color model

#645C8A color RGB value is (100,92,138).

  • red value is 100;
  • green value is 92;
  • blue value is 138.
RGB:
(100,92,138)
(39%,36%,54%)

RGB channels and saturation

R 100 of 255 = 39%
G 92 of 255 = 36%
B 138 of 255 = 54%

100
92
138

R + G + B ~ 43%. #645C8A is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
100 + 92 + 138 = 330 (100%)
R 100 of 330 ~ 30.3%
G 92 of 330 ~ 27.88%
B 138 of 330 ~ 41.82%

%30.3
%27.88
%41.82

CMYK color model

#645C8A color CMYK value is (28,33,0,46).

  • cyan value is 27.54%
  • magenta value is 33.33%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(28,33,0,46)
C28M33Y0K46 
(28%,33%,0%,46%)
(0.28/0.33/0.00/0.46)	

CMYK percentages

%27.54
%33.33
%0
%45.88

Codes

Color #645C8A in popluar color models

645C8A
RGB10092138
HSL250°20.00%45.10%
HSB/HSV250°33.33%54.12%
CMYK27.54%33.33%0.00%
45.88%

Color #645C8A in popluar number systems.

HEX645C8A
Decimal10092138
Binary1100100101110010001010
Octal144134212

Shades and tints

Shades of #645C8A

#645C8A
(100,92,138)
#5B547E
(91,84,126)
#524C72
(82,76,114)
#494466
(73,68,102)
#403C5A
(64,60,90)
#37344E
(55,52,78)
#2E2C42
(46,44,66)
#252436
(37,36,54)
#1C1C2A
(28,28,42)
#13141E
(19,20,30)
#0A0C12
(10,12,18)
#000000
(0,0,0)

Tints of #645C8A

#645C8A
(100,92,138)
#726A94
(114,106,148)
#80789E
(128,120,158)
#8E86A8
(142,134,168)
#9C94B2
(156,148,178)
#AAA2BC
(170,162,188)
#B8B0C6
(184,176,198)
#C6BED0
(198,190,208)
#D4CCDA
(212,204,218)
#E2DAE4
(226,218,228)
#F0E8EE
(240,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #645C8A color. Also use rgb(100,92,138) instead hex code.

Text Font Color

.myTextColor { color: #645C8A; }

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

This text font color is #645C8A.


Background Color

.myBgColor { background-color: #645C8A; }

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

This div background color is #645C8A.


Border color

.myBorderColor { border: 1px solid #645C8A; }

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

This div border color is #645C8A.


Opacity

.myOpacity80 { color: #645C8A; opacity: 0.8; }

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

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

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

This text has shadow with #645C8A color.

.textShadow {text-shadow: 3px 3px 1px #645C8A, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #645C8A on black background.


Color preview on white background

This text has color #645C8A on white background.



Black color preview on #645C8A background

This text has black color on #645C8A background.


White color preview on #645C8A background

This text has white color on #645C8A background.