COLOR #252040

HEX: #252040 RGB: (37,32,64)

Color info

#252040 contains red, green and blue colors in about the same proportion. Web safe color of #252040 is #333333 (or #333).

RGB color model

#252040 color RGB value is (37,32,64).

RGB: (37,32,64) (15%, 13%, 25%)

RGB channels and saturation

R 37 of 255 = 15%
G 32 of 255 = 13%
B 64 of 255 = 25%

37
32
64

R + G + B ~ 18%. #252040 is dark color.

Portions of RGB colors in percentages

R + G + B = 37 + 32 + 64 = 133 (100%)
R 37 of 133 ~ 27.82%
G 32 of 133 ~ 24.06%
B 64 of 133 ~ 48.12'%

%27.82
%24.06
%48.12

CMYK color model

#252040 color CMYK value is (42,50,0,75).

  • cyan value is 42.19%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 74.90%

CMYK: (42,50,0,75)
C42M50Y0K75 (42%, 50%, 0%, 75%)
(0.42 / 0.50 / 0.00 / 0.75)

CMYK percentages

%42.19
%50
%0
%74.9

Codes

Color #252040 in popluar color models

25 20 40
RGB 37 32 64
HSL 249° 33.33% 18.82%
HSB/HSV 249° 50.00% 25.10%
CMYK 42.19% 50.00% 0.00%
74.90%

Color #252040 in popluar number systems.

HEX 25 20 40
Decimal 37 32 64
Binary 100101 100000 1000000
Octal 45 40 100

Shades and tints

Shades of #252040

#252040
(37,32,64)
#221E3B
(34,30,59)
#1F1C36
(31,28,54)
#1C1A31
(28,26,49)
#19182C
(25,24,44)
#161627
(22,22,39)
#131422
(19,20,34)
#10121D
(16,18,29)
#0D1018
(13,16,24)
#0A0E13
(10,14,19)
#070C0E
(7,12,14)
#000000
(0,0,0)

Tints of #252040

#252040
(37,32,64)
#383451
(56,52,81)
#4B4862
(75,72,98)
#5E5C73
(94,92,115)
#717084
(113,112,132)
#848495
(132,132,149)
#9798A6
(151,152,166)
#AAACB7
(170,172,183)
#BDC0C8
(189,192,200)
#D0D4D9
(208,212,217)
#E3E8EA
(227,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #252040 color. Also use rgb(37,32,64) instead hex code.

Text Font Color

.myTextColor { color: #252040; }

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

This text font color is #252040.

Background Color

.myBgColor { background-color: #252040; }

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

This div background color is #252040.

Border color

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

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

This div border color is #252040.

Opacity

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

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

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

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

This text has shadow with #252040 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #252040.

Preview

Color preview on black background

This text has color #252040 on black background.


Color preview on white background

This text has color #252040 on white background.


Black color preview on #252040 background

This text has black color on #252040 background.


White color preview on #252040 background

This text has white color on #252040 background.


Related colors

Complementary color

Complementary color for #hex is #DADFBF.


I love getcolorcode.com

Triadic colors

1 #402520 and #204025 with #252040 are triadic colors.

2 #402025 and #202540 with #252040 are triadic colors.