COLOR #252872

HEX: #252872 RGB: (37,40,114)

Color info

#252872 contains mainly blue color. Web safe color of #252872 is #333366 (or #336).

RGB color model

#252872 color RGB value is (37,40,114).

RGB: (37,40,114) (15%, 16%, 45%)

RGB channels and saturation

R 37 of 255 = 15%
G 40 of 255 = 16%
B 114 of 255 = 45%

37
40
114

R + G + B ~ 25%. #252872 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 37 + 40 + 114 = 191 (100%)
R 37 of 191 ~ 19.37%
G 40 of 191 ~ 20.94%
B 114 of 191 ~ 59.69'%

%19.37
%20.94
%59.69

CMYK color model

#252872 color CMYK value is (68,65,0,55).

  • cyan value is 67.54%
  • magenta value is 64.91%
  • yellow value is 0.00%
  • key color value is 55.29%

CMYK: (68,65,0,55)
C68M65Y0K55 (68%, 65%, 0%, 55%)
(0.68 / 0.65 / 0.00 / 0.55)

CMYK percentages

%67.54
%64.91
%0
%55.29

Codes

Color #252872 in popluar color models

25 28 72
RGB 37 40 114
HSL 238° 50.99% 29.61%
HSB/HSV 238° 67.54% 44.71%
CMYK 67.54% 64.91% 0.00%
55.29%

Color #252872 in popluar number systems.

HEX 25 28 72
Decimal 37 40 114
Binary 100101 101000 1110010
Octal 45 50 162

Shades and tints

Shades of #252872

#252872
(37,40,114)
#222568
(34,37,104)
#1F225E
(31,34,94)
#1C1F54
(28,31,84)
#191C4A
(25,28,74)
#161940
(22,25,64)
#131636
(19,22,54)
#10132C
(16,19,44)
#0D1022
(13,16,34)
#0A0D18
(10,13,24)
#070A0E
(7,10,14)
#000000
(0,0,0)

Tints of #252872

#252872
(37,40,114)
#383B7E
(56,59,126)
#4B4E8A
(75,78,138)
#5E6196
(94,97,150)
#7174A2
(113,116,162)
#8487AE
(132,135,174)
#979ABA
(151,154,186)
#AAADC6
(170,173,198)
#BDC0D2
(189,192,210)
#D0D3DE
(208,211,222)
#E3E6EA
(227,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #252872 color. Also use rgb(37,40,114) instead hex code.

Text Font Color

.myTextColor { color: #252872; }

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

This text font color is #252872.

Background Color

.myBgColor { background-color: #252872; }

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

This div background color is #252872.

Border color

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

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

This div border color is #252872.

Opacity

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

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

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

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

This text has shadow with #252872 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #252872.

Preview

Color preview on black background

This text has color #252872 on black background.


Color preview on white background

This text has color #252872 on white background.


Black color preview on #252872 background

This text has black color on #252872 background.


White color preview on #252872 background

This text has white color on #252872 background.


Related colors

Complementary color

Complementary color for #hex is #DAD78D.


I love getcolorcode.com

Triadic colors

1 #722528 and #287225 with #252872 are triadic colors.

2 #722825 and #282572 with #252872 are triadic colors.