COLOR #5040C5

HEX: #5040C5 RGB: (80,64,197)

Color info

#5040C5 contains mainly blue color. Web safe color of #5040C5 is #6633CC (or #63C).

RGB color model

#5040C5 color RGB value is (80,64,197).

RGB: (80,64,197) (31%, 25%, 77%)

RGB channels and saturation

R 80 of 255 = 31%
G 64 of 255 = 25%
B 197 of 255 = 77%

80
64
197

R + G + B ~ 44%. #5040C5 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 80 + 64 + 197 = 341 (100%)
R 80 of 341 ~ 23.46%
G 64 of 341 ~ 18.77%
B 197 of 341 ~ 57.77'%

%23.46
%18.77
%57.77

CMYK color model

#5040C5 color CMYK value is (59,68,0,23).

  • cyan value is 59.39%
  • magenta value is 67.51%
  • yellow value is 0.00%
  • key color value is 22.75%

CMYK: (59,68,0,23)
C59M68Y0K23 (59%, 68%, 0%, 23%)
(0.59 / 0.68 / 0.00 / 0.23)

CMYK percentages

%59.39
%67.51
%0
%22.75

Codes

Color #5040C5 in popluar color models

50 40 C5
RGB 80 64 197
HSL 247° 53.41% 51.18%
HSB/HSV 247° 67.51% 77.25%
CMYK 59.39% 67.51% 0.00%
22.75%

Color #5040C5 in popluar number systems.

HEX 50 40 C5
Decimal 80 64 197
Binary 1010000 1000000 11000101
Octal 120 100 305

Shades and tints

Shades of #5040C5

#5040C5
(80,64,197)
#493BB4
(73,59,180)
#4236A3
(66,54,163)
#3B3192
(59,49,146)
#342C81
(52,44,129)
#2D2770
(45,39,112)
#26225F
(38,34,95)
#1F1D4E
(31,29,78)
#18183D
(24,24,61)
#11132C
(17,19,44)
#0A0E1B
(10,14,27)
#000000
(0,0,0)

Tints of #5040C5

#5040C5
(80,64,197)
#5F51CA
(95,81,202)
#6E62CF
(110,98,207)
#7D73D4
(125,115,212)
#8C84D9
(140,132,217)
#9B95DE
(155,149,222)
#AAA6E3
(170,166,227)
#B9B7E8
(185,183,232)
#C8C8ED
(200,200,237)
#D7D9F2
(215,217,242)
#E6EAF7
(230,234,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5040C5 color. Also use rgb(80,64,197) instead hex code.

Text Font Color

.myTextColor { color: #5040C5; }

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

This text font color is #5040C5.

Background Color

.myBgColor { background-color: #5040C5; }

<div style="background-color:#5040C5">Inner text</div>

This div background color is #5040C5.

Border color

.myBorderColor { border: 1px solid #5040C5; }

<div style="border:3px solid #5040C5">Div</div>

This div border color is #5040C5.

Opacity

.myOpacity80 { color: #5040C5; opacity: 0.8; }

<p style="color:#5040C5;opacity:0.8;">80%</p>

Text with #5040C5 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 #5040C5;}

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

This text has shadow with #5040C5 color.


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

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

This text has shadow with #5040C5 primary color and red secondary color.


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

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

This text has shadow with #5040C5 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #5040C5.

Preview

Color preview on black background

This text has color #5040C5 on black background.


Color preview on white background

This text has color #5040C5 on white background.


Black color preview on #5040C5 background

This text has black color on #5040C5 background.


White color preview on #5040C5 background

This text has white color on #5040C5 background.


Related colors

Complementary color

Complementary color for #hex is #AFBF3A.


I love getcolorcode.com

Triadic colors

1 #C55040 and #40C550 with #5040C5 are triadic colors.

2 #C54050 and #4050C5 with #5040C5 are triadic colors.