COLOR #542E7F

HEX: #542E7F
RGB: (84,46,127)

Color info

#542E7F contains mainly red and blue colors. Web safe color of #542E7F is #663366 (or #636).

RGB color model

#542E7F color RGB value is (84,46,127).

  • red value is 84;
  • green value is 46;
  • blue value is 127.
RGB:
(84,46,127)
(33%,18%,50%)

RGB channels and saturation

R 84 of 255 = 33%
G 46 of 255 = 18%
B 127 of 255 = 50%

84
46
127

R + G + B ~ 34%. #542E7F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
84 + 46 + 127 = 257 (100%)
R 84 of 257 ~ 32.68%
G 46 of 257 ~ 17.9%
B 127 of 257 ~ 49.42%

%32.68
%17.9
%49.42

CMYK color model

#542E7F color CMYK value is (34,64,0,50).

  • cyan value is 33.86%
  • magenta value is 63.78%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(34,64,0,50)
C34M64Y0K50 
(34%,64%,0%,50%)
(0.34/0.64/0.00/0.50)	

CMYK percentages

%33.86
%63.78
%0
%50.2

Codes

Color #542E7F in popluar color models

542E7F
RGB8446127
HSL268°46.82%33.92%
HSB/HSV268°63.78%49.80%
CMYK33.86%63.78%0.00%
50.20%

Color #542E7F in popluar number systems.

HEX542E7F
Decimal8446127
Binary10101001011101111111
Octal12456177

Shades and tints

Shades of #542E7F

#542E7F
(84,46,127)
#4D2A74
(77,42,116)
#462669
(70,38,105)
#3F225E
(63,34,94)
#381E53
(56,30,83)
#311A48
(49,26,72)
#2A163D
(42,22,61)
#231232
(35,18,50)
#1C0E27
(28,14,39)
#150A1C
(21,10,28)
#0E0611
(14,6,17)
#000000
(0,0,0)

Tints of #542E7F

#542E7F
(84,46,127)
#63418A
(99,65,138)
#725495
(114,84,149)
#8167A0
(129,103,160)
#907AAB
(144,122,171)
#9F8DB6
(159,141,182)
#AEA0C1
(174,160,193)
#BDB3CC
(189,179,204)
#CCC6D7
(204,198,215)
#DBD9E2
(219,217,226)
#EAECED
(234,236,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #542E7F color. Also use rgb(84,46,127) instead hex code.

Text Font Color

.myTextColor { color: #542E7F; }

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

This text font color is #542E7F.


Background Color

.myBgColor { background-color: #542E7F; }

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

This div background color is #542E7F.


Border color

.myBorderColor { border: 1px solid #542E7F; }

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

This div border color is #542E7F.


Opacity

.myOpacity80 { color: #542E7F; opacity: 0.8; }

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

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

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

This text has shadow with #542E7F color.

.textShadow {text-shadow: 3px 3px 1px #542E7F, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #542E7F on black background.


Color preview on white background

This text has color #542E7F on white background.



Black color preview on #542E7F background

This text has black color on #542E7F background.


White color preview on #542E7F background

This text has white color on #542E7F background.