COLOR #251940

HEX: #251940
RGB: (37,25,64)

Color info

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

RGB color model

#251940 color RGB value is (37,25,64).

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

RGB channels and saturation

R 37 of 255 = 15%
G 25 of 255 = 10%
B 64 of 255 = 25%

37
25
64

R + G + B ~ 17%. #251940 is dark color.

Portions of RGB colors in percentages

R + G + B =
37 + 25 + 64 = 126 (100%)
R 37 of 126 ~ 29.37%
G 25 of 126 ~ 19.84%
B 64 of 126 ~ 50.79%

%29.37
%19.84
%50.79

CMYK color model

#251940 color CMYK value is (42,61,0,75).

  • cyan value is 42.19%
  • magenta value is 60.94%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(42,61,0,75)
C42M61Y0K75 
(42%,61%,0%,75%)
(0.42/0.61/0.00/0.75)	

CMYK percentages

%42.19
%60.94
%0
%74.9

Codes

Color #251940 in popluar color models

251940
RGB372564
HSL258°43.82%17.45%
HSB/HSV258°60.94%25.10%
CMYK42.19%60.94%0.00%
74.90%

Color #251940 in popluar number systems.

HEX251940
Decimal372564
Binary100101110011000000
Octal4531100

Shades and tints

Shades of #251940

#251940
(37,25,64)
#22173B
(34,23,59)
#1F1536
(31,21,54)
#1C1331
(28,19,49)
#19112C
(25,17,44)
#160F27
(22,15,39)
#130D22
(19,13,34)
#100B1D
(16,11,29)
#0D0918
(13,9,24)
#0A0713
(10,7,19)
#07050E
(7,5,14)
#000000
(0,0,0)

Tints of #251940

#251940
(37,25,64)
#382D51
(56,45,81)
#4B4162
(75,65,98)
#5E5573
(94,85,115)
#716984
(113,105,132)
#847D95
(132,125,149)
#9791A6
(151,145,166)
#AAA5B7
(170,165,183)
#BDB9C8
(189,185,200)
#D0CDD9
(208,205,217)
#E3E1EA
(227,225,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #251940; }

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

This text font color is #251940.


Background Color

.myBgColor { background-color: #251940; }

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

This div background color is #251940.


Border color

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

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

This div border color is #251940.


Opacity

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

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

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

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

This text has shadow with #251940 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #251940 on black background.


Color preview on white background

This text has color #251940 on white background.



Black color preview on #251940 background

This text has black color on #251940 background.


White color preview on #251940 background

This text has white color on #251940 background.