#040242 - Endless Galaxy
Hex color #040242 is called Endless Galaxy. It consists of 2% red, 1% green, and 26% blue in RGB color space. In CMYK it is 94% cyan, 97% magenta, 0% yellow, and 74% black. In HSL it is 242° hue, 94% saturation, and 13% 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 | Endless Galaxy | — |
| HEX | #040242 | #040242 |
| HEXA | #040242FF | #040242FF |
| RGB | 4, 2, 66 | rgb(4, 2, 66) |
| RGBA | 4, 2, 66, 1 | rgba(4, 2, 66, 1) |
| HSL | 242%, 94%, 13% | hsl(242%, 94%, 13%) |
| CMYK | 94%, 97%, 0%, 74% | cmyk(94%, 97%, 0%, 74%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 13% (dark) | — |
Negative color
The color opposite to #040242 is #FBFDBD.
Preview on black and white
As #040242 has 13% lightness, this color is dark, so it has more contrast with white.
#040242 On White Background
#040242
#040242
Text Color
This is how text looks with this color.
#040242 On Black Background
#040242
#040242
Text Color
This is how text looks with this color.
Transform color
4, 2, 66rgb(4, 2, 66)