COLOR #5159CB

HEX: #5159CB RGB: (81,89,203)

Color info

#5159CB contains mainly blue color. Web safe color of #5159CB is #6666CC (or #66C).

RGB color model

#5159CB color RGB value is (81,89,203).

RGB: (81,89,203) (32%, 35%, 80%)

RGB channels and saturation

R 81 of 255 = 32%
G 89 of 255 = 35%
B 203 of 255 = 80%

81
89
203

R + G + B ~ 49%. #5159CB is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 81 + 89 + 203 = 373 (100%)
R 81 of 373 ~ 21.72%
G 89 of 373 ~ 23.86%
B 203 of 373 ~ 54.42'%

%21.72
%23.86
%54.42

CMYK color model

#5159CB color CMYK value is (60,56,0,20).

  • cyan value is 60.10%
  • magenta value is 56.16%
  • yellow value is 0.00%
  • key color value is 20.39%

CMYK: (60,56,0,20)
C60M56Y0K20 (60%, 56%, 0%, 20%)
(0.60 / 0.56 / 0.00 / 0.20)

CMYK percentages

%60.1
%56.16
%0
%20.39

Codes

Color #5159CB in popluar color models

51 59 CB
RGB 81 89 203
HSL 236° 53.98% 55.69%
HSB/HSV 236° 60.10% 79.61%
CMYK 60.10% 56.16% 0.00%
20.39%

Color #5159CB in popluar number systems.

HEX 51 59 CB
Decimal 81 89 203
Binary 1010001 1011001 11001011
Octal 121 131 313

Shades and tints

Shades of #5159CB

#5159CB
(81,89,203)
#4A51B9
(74,81,185)
#4349A7
(67,73,167)
#3C4195
(60,65,149)
#353983
(53,57,131)
#2E3171
(46,49,113)
#27295F
(39,41,95)
#20214D
(32,33,77)
#19193B
(25,25,59)
#121129
(18,17,41)
#0B0917
(11,9,23)
#000000
(0,0,0)

Tints of #5159CB

#5159CB
(81,89,203)
#6068CF
(96,104,207)
#6F77D3
(111,119,211)
#7E86D7
(126,134,215)
#8D95DB
(141,149,219)
#9CA4DF
(156,164,223)
#ABB3E3
(171,179,227)
#BAC2E7
(186,194,231)
#C9D1EB
(201,209,235)
#D8E0EF
(216,224,239)
#E7EFF3
(231,239,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5159CB color. Also use rgb(81,89,203) instead hex code.

Text Font Color

.myTextColor { color: #5159CB; }

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

This text font color is #5159CB.

Background Color

.myBgColor { background-color: #5159CB; }

<div style="background-color:#5159CB">Inner text</div>

This div background color is #5159CB.

Border color

.myBorderColor { border: 1px solid #5159CB; }

<div style="border:3px solid #5159CB">Div</div>

This div border color is #5159CB.

Opacity

.myOpacity80 { color: #5159CB; opacity: 0.8; }

<p style="color:#5159CB;opacity:0.8;">80%</p>

Text with #5159CB 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 #5159CB;}

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

This text has shadow with #5159CB color.


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

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

This text has shadow with #5159CB primary color and red secondary color.


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

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

This text has shadow with #5159CB and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #5159CB.

Preview

Color preview on black background

This text has color #5159CB on black background.


Color preview on white background

This text has color #5159CB on white background.


Black color preview on #5159CB background

This text has black color on #5159CB background.


White color preview on #5159CB background

This text has white color on #5159CB background.


Related colors

Complementary color

Complementary color for #hex is #AEA634.


I love getcolorcode.com

Triadic colors

1 #CB5159 and #59CB51 with #5159CB are triadic colors.

2 #CB5951 and #5951CB with #5159CB are triadic colors.