COLOR #251240

HEX: #251240
RGB: (37,18,64)

Color info

#251240 contains red, green and blue colors in about the same proportion. Web safe color of #251240 is #330033 (or #303).

RGB color model

#251240 color RGB value is (37,18,64).

  • red value is 37;
  • green value is 18;
  • blue value is 64.
RGB:
(37,18,64)
(15%,7%,25%)

RGB channels and saturation

R 37 of 255 = 15%
G 18 of 255 = 7%
B 64 of 255 = 25%

37
18
64

R + G + B ~ 16%. #251240 is dark color.

Portions of RGB colors in percentages

R + G + B =
37 + 18 + 64 = 119 (100%)
R 37 of 119 ~ 31.09%
G 18 of 119 ~ 15.13%
B 64 of 119 ~ 53.78%

%31.09
%15.13
%53.78

CMYK color model

#251240 color CMYK value is (42,72,0,75).

  • cyan value is 42.19%
  • magenta value is 71.88%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(42,72,0,75)
C42M72Y0K75 
(42%,72%,0%,75%)
(0.42/0.72/0.00/0.75)	

CMYK percentages

%42.19
%71.88
%0
%74.9

Codes

Color #251240 in popluar color models

251240
RGB371864
HSL265°56.10%16.08%
HSB/HSV265°71.88%25.10%
CMYK42.19%71.88%0.00%
74.90%

Color #251240 in popluar number systems.

HEX251240
Decimal371864
Binary100101100101000000
Octal4522100

Shades and tints

Shades of #251240

#251240
(37,18,64)
#22113B
(34,17,59)
#1F1036
(31,16,54)
#1C0F31
(28,15,49)
#190E2C
(25,14,44)
#160D27
(22,13,39)
#130C22
(19,12,34)
#100B1D
(16,11,29)
#0D0A18
(13,10,24)
#0A0913
(10,9,19)
#07080E
(7,8,14)
#000000
(0,0,0)

Tints of #251240

#251240
(37,18,64)
#382751
(56,39,81)
#4B3C62
(75,60,98)
#5E5173
(94,81,115)
#716684
(113,102,132)
#847B95
(132,123,149)
#9790A6
(151,144,166)
#AAA5B7
(170,165,183)
#BDBAC8
(189,186,200)
#D0CFD9
(208,207,217)
#E3E4EA
(227,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #251240; }

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

This text font color is #251240.


Background Color

.myBgColor { background-color: #251240; }

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

This div background color is #251240.


Border color

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

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

This div border color is #251240.


Opacity

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

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

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

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

This text has shadow with #251240 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #251240 on black background.


Color preview on white background

This text has color #251240 on white background.



Black color preview on #251240 background

This text has black color on #251240 background.


White color preview on #251240 background

This text has white color on #251240 background.