COLOR #542E89

HEX: #542E89
RGB: (84,46,137)

Color info

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

RGB color model

#542E89 color RGB value is (84,46,137).

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

RGB channels and saturation

R 84 of 255 = 33%
G 46 of 255 = 18%
B 137 of 255 = 54%

84
46
137

R + G + B ~ 35%. #542E89 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
84 + 46 + 137 = 267 (100%)
R 84 of 267 ~ 31.46%
G 46 of 267 ~ 17.23%
B 137 of 267 ~ 51.31%

%31.46
%17.23
%51.31

CMYK color model

#542E89 color CMYK value is (39,66,0,46).

  • cyan value is 38.69%
  • magenta value is 66.42%
  • yellow value is 0.00%
  • key color value is 46.27%
CMYK:
(39,66,0,46)
C39M66Y0K46 
(39%,66%,0%,46%)
(0.39/0.66/0.00/0.46)	

CMYK percentages

%38.69
%66.42
%0
%46.27

Codes

Color #542E89 in popluar color models

542E89
RGB8446137
HSL265°49.73%35.88%
HSB/HSV265°66.42%53.73%
CMYK38.69%66.42%0.00%
46.27%

Color #542E89 in popluar number systems.

HEX542E89
Decimal8446137
Binary101010010111010001001
Octal12456211

Shades and tints

Shades of #542E89

#542E89
(84,46,137)
#4D2A7D
(77,42,125)
#462671
(70,38,113)
#3F2265
(63,34,101)
#381E59
(56,30,89)
#311A4D
(49,26,77)
#2A1641
(42,22,65)
#231235
(35,18,53)
#1C0E29
(28,14,41)
#150A1D
(21,10,29)
#0E0611
(14,6,17)
#000000
(0,0,0)

Tints of #542E89

#542E89
(84,46,137)
#634193
(99,65,147)
#72549D
(114,84,157)
#8167A7
(129,103,167)
#907AB1
(144,122,177)
#9F8DBB
(159,141,187)
#AEA0C5
(174,160,197)
#BDB3CF
(189,179,207)
#CCC6D9
(204,198,217)
#DBD9E3
(219,217,227)
#EAECED
(234,236,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #542E89; }

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

This text font color is #542E89.


Background Color

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

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

This div background color is #542E89.


Border color

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

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

This div border color is #542E89.


Opacity

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

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

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

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

This text has shadow with #542E89 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #542E89 on black background.


Color preview on white background

This text has color #542E89 on white background.



Black color preview on #542E89 background

This text has black color on #542E89 background.


White color preview on #542E89 background

This text has white color on #542E89 background.