COLOR #6040A0

HEX: #6040A0
RGB: (96,64,160)

Color info

#6040A0 contains mainly blue color. Web safe color of #6040A0 is #663399 (or #639).

RGB color model

#6040A0 color RGB value is (96,64,160).

  • red value is 96;
  • green value is 64;
  • blue value is 160.
RGB:
(96,64,160)
(38%,25%,63%)

RGB channels and saturation

R 96 of 255 = 38%
G 64 of 255 = 25%
B 160 of 255 = 63%

96
64
160

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

Portions of RGB colors in percentages

R + G + B =
96 + 64 + 160 = 320 (100%)
R 96 of 320 ~ 30%
G 64 of 320 ~ 20%
B 160 of 320 ~ 50%

%30
%20
%50

CMYK color model

#6040A0 color CMYK value is (40,60,0,37).

  • cyan value is 40.00%
  • magenta value is 60.00%
  • yellow value is 0.00%
  • key color value is 37.25%
CMYK:
(40,60,0,37)
C40M60Y0K37 
(40%,60%,0%,37%)
(0.40/0.60/0.00/0.37)	

CMYK percentages

%40
%60
%0
%37.25

Codes

Color #6040A0 in popluar color models

6040A0
RGB9664160
HSL260°42.86%43.92%
HSB/HSV260°60.00%62.75%
CMYK40.00%60.00%0.00%
37.25%

Color #6040A0 in popluar number systems.

HEX6040A0
Decimal9664160
Binary1100000100000010100000
Octal140100240

Shades and tints

Shades of #6040A0

#6040A0
(96,64,160)
#583B92
(88,59,146)
#503684
(80,54,132)
#483176
(72,49,118)
#402C68
(64,44,104)
#38275A
(56,39,90)
#30224C
(48,34,76)
#281D3E
(40,29,62)
#201830
(32,24,48)
#181322
(24,19,34)
#100E14
(16,14,20)
#000000
(0,0,0)

Tints of #6040A0

#6040A0
(96,64,160)
#6E51A8
(110,81,168)
#7C62B0
(124,98,176)
#8A73B8
(138,115,184)
#9884C0
(152,132,192)
#A695C8
(166,149,200)
#B4A6D0
(180,166,208)
#C2B7D8
(194,183,216)
#D0C8E0
(208,200,224)
#DED9E8
(222,217,232)
#ECEAF0
(236,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #6040A0 color. Also use rgb(96,64,160) instead hex code.

Text Font Color

.myTextColor { color: #6040A0; }

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

This text font color is #6040A0.


Background Color

.myBgColor { background-color: #6040A0; }

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

This div background color is #6040A0.


Border color

.myBorderColor { border: 1px solid #6040A0; }

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

This div border color is #6040A0.


Opacity

.myOpacity80 { color: #6040A0; opacity: 0.8; }

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

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

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

This text has shadow with #6040A0 color.

.textShadow {text-shadow: 3px 3px 1px #6040A0, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #6040A0 on black background.


Color preview on white background

This text has color #6040A0 on white background.



Black color preview on #6040A0 background

This text has black color on #6040A0 background.


White color preview on #6040A0 background

This text has white color on #6040A0 background.