COLOR #252157

HEX: #252157 RGB: (37,33,87)

Color info

#252157 contains red, green and blue colors in about the same proportion. Web safe color of #252157 is #333366 (or #336).

RGB color model

#252157 color RGB value is (37,33,87).

RGB: (37,33,87) (15%, 13%, 34%)

RGB channels and saturation

R 37 of 255 = 15%
G 33 of 255 = 13%
B 87 of 255 = 34%

37
33
87

R + G + B ~ 21%. #252157 is dark color.

Portions of RGB colors in percentages

R + G + B = 37 + 33 + 87 = 157 (100%)
R 37 of 157 ~ 23.57%
G 33 of 157 ~ 21.02%
B 87 of 157 ~ 55.41'%

%23.57
%21.02
%55.41

CMYK color model

#252157 color CMYK value is (57,62,0,66).

  • cyan value is 57.47%
  • magenta value is 62.07%
  • yellow value is 0.00%
  • key color value is 65.88%

CMYK: (57,62,0,66)
C57M62Y0K66 (57%, 62%, 0%, 66%)
(0.57 / 0.62 / 0.00 / 0.66)

CMYK percentages

%57.47
%62.07
%0
%65.88

Codes

Color #252157 in popluar color models

25 21 57
RGB 37 33 87
HSL 244° 45.00% 23.53%
HSB/HSV 244° 62.07% 34.12%
CMYK 57.47% 62.07% 0.00%
65.88%

Color #252157 in popluar number systems.

HEX 25 21 57
Decimal 37 33 87
Binary 100101 100001 1010111
Octal 45 41 127

Shades and tints

Shades of #252157

#252157
(37,33,87)
#221E50
(34,30,80)
#1F1B49
(31,27,73)
#1C1842
(28,24,66)
#19153B
(25,21,59)
#161234
(22,18,52)
#130F2D
(19,15,45)
#100C26
(16,12,38)
#0D091F
(13,9,31)
#0A0618
(10,6,24)
#070311
(7,3,17)
#000000
(0,0,0)

Tints of #252157

#252157
(37,33,87)
#383566
(56,53,102)
#4B4975
(75,73,117)
#5E5D84
(94,93,132)
#717193
(113,113,147)
#8485A2
(132,133,162)
#9799B1
(151,153,177)
#AAADC0
(170,173,192)
#BDC1CF
(189,193,207)
#D0D5DE
(208,213,222)
#E3E9ED
(227,233,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #252157 color. Also use rgb(37,33,87) instead hex code.

Text Font Color

.myTextColor { color: #252157; }

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

This text font color is #252157.

Background Color

.myBgColor { background-color: #252157; }

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

This div background color is #252157.

Border color

.myBorderColor { border: 1px solid #252157; }

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

This div border color is #252157.

Opacity

.myOpacity80 { color: #252157; opacity: 0.8; }

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

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

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

This text has shadow with #252157 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #252157.

Preview

Color preview on black background

This text has color #252157 on black background.


Color preview on white background

This text has color #252157 on white background.


Black color preview on #252157 background

This text has black color on #252157 background.


White color preview on #252157 background

This text has white color on #252157 background.


Related colors

Complementary color

Complementary color for #hex is #DADEA8.


I love getcolorcode.com

Triadic colors

1 #572521 and #215725 with #252157 are triadic colors.

2 #572125 and #212557 with #252157 are triadic colors.