COLOR #252257

HEX: #252257
RGB: (37,34,87)

Color info

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

RGB color model

#252257 color RGB value is (37,34,87).

  • red value is 37;
  • green value is 34;
  • blue value is 87.
RGB:
(37,34,87)
(15%,13%,34%)

RGB channels and saturation

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

37
34
87

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

Portions of RGB colors in percentages

R + G + B =
37 + 34 + 87 = 158 (100%)
R 37 of 158 ~ 23.42%
G 34 of 158 ~ 21.52%
B 87 of 158 ~ 55.06%

%23.42
%21.52
%55.06

CMYK color model

#252257 color CMYK value is (57,61,0,66).

  • cyan value is 57.47%
  • magenta value is 60.92%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK:
(57,61,0,66)
C57M61Y0K66 
(57%,61%,0%,66%)
(0.57/0.61/0.00/0.66)	

CMYK percentages

%57.47
%60.92
%0
%65.88

Codes

Color #252257 in popluar color models

252257
RGB373487
HSL243°43.80%23.73%
HSB/HSV243°60.92%34.12%
CMYK57.47%60.92%0.00%
65.88%

Color #252257 in popluar number systems.

HEX252257
Decimal373487
Binary1001011000101010111
Octal4542127

Shades and tints

Shades of #252257

#252257
(37,34,87)
#221F50
(34,31,80)
#1F1C49
(31,28,73)
#1C1942
(28,25,66)
#19163B
(25,22,59)
#161334
(22,19,52)
#13102D
(19,16,45)
#100D26
(16,13,38)
#0D0A1F
(13,10,31)
#0A0718
(10,7,24)
#070411
(7,4,17)
#000000
(0,0,0)

Tints of #252257

#252257
(37,34,87)
#383666
(56,54,102)
#4B4A75
(75,74,117)
#5E5E84
(94,94,132)
#717293
(113,114,147)
#8486A2
(132,134,162)
#979AB1
(151,154,177)
#AAAEC0
(170,174,192)
#BDC2CF
(189,194,207)
#D0D6DE
(208,214,222)
#E3EAED
(227,234,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #252257; }

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

This text font color is #252257.


Background Color

.myBgColor { background-color: #252257; }

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

This div background color is #252257.


Border color

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

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

This div border color is #252257.


Opacity

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

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

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

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

This text has shadow with #252257 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #252257 on black background.


Color preview on white background

This text has color #252257 on white background.



Black color preview on #252257 background

This text has black color on #252257 background.


White color preview on #252257 background

This text has white color on #252257 background.