COLOR #542BA4

HEX: #542BA4 RGB: (84,43,164)

Color info

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

RGB color model

#542BA4 color RGB value is (84,43,164).

RGB: (84,43,164) (33%, 17%, 64%)

RGB channels and saturation

R 84 of 255 = 33%
G 43 of 255 = 17%
B 164 of 255 = 64%

84
43
164

R + G + B ~ 38%. #542BA4 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 84 + 43 + 164 = 291 (100%)
R 84 of 291 ~ 28.87%
G 43 of 291 ~ 14.78%
B 164 of 291 ~ 56.36'%

%28.87
%14.78
%56.36

CMYK color model

#542BA4 color CMYK value is (49,74,0,36).

  • cyan value is 48.78%
  • magenta value is 73.78%
  • yellow value is 0.00%
  • key color value is 35.69%

CMYK: (49,74,0,36)
C49M74Y0K36 (49%, 74%, 0%, 36%)
(0.49 / 0.74 / 0.00 / 0.36)

CMYK percentages

%48.78
%73.78
%0
%35.69

Codes

Color #542BA4 in popluar color models

54 2B A4
RGB 84 43 164
HSL 260° 58.45% 40.59%
HSB/HSV 260° 73.78% 64.31%
CMYK 48.78% 73.78% 0.00%
35.69%

Color #542BA4 in popluar number systems.

HEX 54 2B A4
Decimal 84 43 164
Binary 1010100 101011 10100100
Octal 124 53 244

Shades and tints

Shades of #542BA4

#542BA4
(84,43,164)
#4D2896
(77,40,150)
#462588
(70,37,136)
#3F227A
(63,34,122)
#381F6C
(56,31,108)
#311C5E
(49,28,94)
#2A1950
(42,25,80)
#231642
(35,22,66)
#1C1334
(28,19,52)
#151026
(21,16,38)
#0E0D18
(14,13,24)
#000000
(0,0,0)

Tints of #542BA4

#542BA4
(84,43,164)
#633EAC
(99,62,172)
#7251B4
(114,81,180)
#8164BC
(129,100,188)
#9077C4
(144,119,196)
#9F8ACC
(159,138,204)
#AE9DD4
(174,157,212)
#BDB0DC
(189,176,220)
#CCC3E4
(204,195,228)
#DBD6EC
(219,214,236)
#EAE9F4
(234,233,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #542BA4; }

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

This text font color is #542BA4.

Background Color

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

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

This div background color is #542BA4.

Border color

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

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

This div border color is #542BA4.

Opacity

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

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

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

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

This text has shadow with #542BA4 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #542BA4.

Preview

Color preview on black background

This text has color #542BA4 on black background.


Color preview on white background

This text has color #542BA4 on white background.


Black color preview on #542BA4 background

This text has black color on #542BA4 background.


White color preview on #542BA4 background

This text has white color on #542BA4 background.


Related colors

Complementary color

Complementary color for #hex is #ABD45B.


I love getcolorcode.com

Triadic colors

1 #A4542B and #2BA454 with #542BA4 are triadic colors.

2 #A42B54 and #2B54A4 with #542BA4 are triadic colors.