COLOR #5840AC

HEX: #5840AC
RGB: (88,64,172)

Color info

#5840AC contains mainly blue color. Web safe color of #5840AC is #663399 (or #639).

RGB color model

#5840AC color RGB value is (88,64,172).

  • red value is 88;
  • green value is 64;
  • blue value is 172.
RGB:
(88,64,172)
(35%,25%,67%)

RGB channels and saturation

R 88 of 255 = 35%
G 64 of 255 = 25%
B 172 of 255 = 67%

88
64
172

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

Portions of RGB colors in percentages

R + G + B =
88 + 64 + 172 = 324 (100%)
R 88 of 324 ~ 27.16%
G 64 of 324 ~ 19.75%
B 172 of 324 ~ 53.09%

%27.16
%19.75
%53.09

CMYK color model

#5840AC color CMYK value is (49,63,0,33).

  • cyan value is 48.84%
  • magenta value is 62.79%
  • yellow value is 0.00%
  • key color value is 32.55%
CMYK:
(49,63,0,33)
C49M63Y0K33 
(49%,63%,0%,33%)
(0.49/0.63/0.00/0.33)	

CMYK percentages

%48.84
%62.79
%0
%32.55

Codes

Color #5840AC in popluar color models

5840AC
RGB8864172
HSL253°45.76%46.27%
HSB/HSV253°62.79%67.45%
CMYK48.84%62.79%0.00%
32.55%

Color #5840AC in popluar number systems.

HEX5840AC
Decimal8864172
Binary1011000100000010101100
Octal130100254

Shades and tints

Shades of #5840AC

#5840AC
(88,64,172)
#503B9D
(80,59,157)
#48368E
(72,54,142)
#40317F
(64,49,127)
#382C70
(56,44,112)
#302761
(48,39,97)
#282252
(40,34,82)
#201D43
(32,29,67)
#181834
(24,24,52)
#101325
(16,19,37)
#080E16
(8,14,22)
#000000
(0,0,0)

Tints of #5840AC

#5840AC
(88,64,172)
#6751B3
(103,81,179)
#7662BA
(118,98,186)
#8573C1
(133,115,193)
#9484C8
(148,132,200)
#A395CF
(163,149,207)
#B2A6D6
(178,166,214)
#C1B7DD
(193,183,221)
#D0C8E4
(208,200,228)
#DFD9EB
(223,217,235)
#EEEAF2
(238,234,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5840AC color. Also use rgb(88,64,172) instead hex code.

Text Font Color

.myTextColor { color: #5840AC; }

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

This text font color is #5840AC.


Background Color

.myBgColor { background-color: #5840AC; }

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

This div background color is #5840AC.


Border color

.myBorderColor { border: 1px solid #5840AC; }

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

This div border color is #5840AC.


Opacity

.myOpacity80 { color: #5840AC; opacity: 0.8; }

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

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

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

This text has shadow with #5840AC color.

.textShadow {text-shadow: 3px 3px 1px #5840AC, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5840AC on black background.


Color preview on white background

This text has color #5840AC on white background.



Black color preview on #5840AC background

This text has black color on #5840AC background.


White color preview on #5840AC background

This text has white color on #5840AC background.