#28175F - Night Fog
Hex color #28175F is called Night Fog. It consists of 16% red, 9% green, and 37% blue in RGB color space. In CMYK it is 58% cyan, 76% magenta, 0% yellow, and 63% black. In HSL it is 254° hue, 61% saturation, and 23% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Night Fog | — |
| HEX | #28175F | #28175F |
| HEXA | #28175FFF | #28175FFF |
| RGB | 40, 23, 95 | rgb(40, 23, 95) |
| RGBA | 40, 23, 95, 1 | rgba(40, 23, 95, 1) |
| HSL | 254%, 61%, 23% | hsl(254%, 61%, 23%) |
| CMYK | 58%, 76%, 0%, 63% | cmyk(58%, 76%, 0%, 63%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 23% (dark) | — |
Negative color
The color opposite to #28175F is #D7E8A0.
Preview on black and white
As #28175F has 23% lightness, this color is dark, so it has more contrast with white.
#28175F On White Background
#28175F
#28175F
Text Color
This is how text looks with this color.
#28175F On Black Background
#28175F
#28175F
Text Color
This is how text looks with this color.
Transform color
40, 23, 95rgb(40, 23, 95)