COLOR #542BA8

HEX: #542BA8
RGB: (84,43,168)

Color info

#542BA8 contains mainly blue color. Web safe color of #542BA8 is #663399 (or #639).

RGB color model

#542BA8 color RGB value is (84,43,168).

  • red value is 84;
  • green value is 43;
  • blue value is 168.
RGB:
(84,43,168)
(33%,17%,66%)

RGB channels and saturation

R 84 of 255 = 33%
G 43 of 255 = 17%
B 168 of 255 = 66%

84
43
168

R + G + B ~ 39%. #542BA8 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
84 + 43 + 168 = 295 (100%)
R 84 of 295 ~ 28.47%
G 43 of 295 ~ 14.58%
B 168 of 295 ~ 56.95%

%28.47
%14.58
%56.95

CMYK color model

#542BA8 color CMYK value is (50,74,0,34).

  • cyan value is 50.00%
  • magenta value is 74.40%
  • yellow value is 0.00%
  • key color value is 34.12%
CMYK:
(50,74,0,34)
C50M74Y0K34 
(50%,74%,0%,34%)
(0.50/0.74/0.00/0.34)	

CMYK percentages

%50
%74.4
%0
%34.12

Codes

Color #542BA8 in popluar color models

542BA8
RGB8443168
HSL260°59.24%41.37%
HSB/HSV260°74.40%65.88%
CMYK50.00%74.40%0.00%
34.12%

Color #542BA8 in popluar number systems.

HEX542BA8
Decimal8443168
Binary101010010101110101000
Octal12453250

Shades and tints

Shades of #542BA8

#542BA8
(84,43,168)
#4D2899
(77,40,153)
#46258A
(70,37,138)
#3F227B
(63,34,123)
#381F6C
(56,31,108)
#311C5D
(49,28,93)
#2A194E
(42,25,78)
#23163F
(35,22,63)
#1C1330
(28,19,48)
#151021
(21,16,33)
#0E0D12
(14,13,18)
#000000
(0,0,0)

Tints of #542BA8

#542BA8
(84,43,168)
#633EAF
(99,62,175)
#7251B6
(114,81,182)
#8164BD
(129,100,189)
#9077C4
(144,119,196)
#9F8ACB
(159,138,203)
#AE9DD2
(174,157,210)
#BDB0D9
(189,176,217)
#CCC3E0
(204,195,224)
#DBD6E7
(219,214,231)
#EAE9EE
(234,233,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #542BA8 color. Also use rgb(84,43,168) instead hex code.

Text Font Color

.myTextColor { color: #542BA8; }

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

This text font color is #542BA8.


Background Color

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

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

This div background color is #542BA8.


Border color

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

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

This div border color is #542BA8.


Opacity

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

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

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

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

This text has shadow with #542BA8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #542BA8 on black background.


Color preview on white background

This text has color #542BA8 on white background.



Black color preview on #542BA8 background

This text has black color on #542BA8 background.


White color preview on #542BA8 background

This text has white color on #542BA8 background.