Get color luminance. Return 0 - 1.
Reference: https://dev.to/alvaromontoro/building-your-own-color-contrast-checker-4j7o
Parameters:
Name | Type | Description |
---|---|---|
color |
Module
Name | Type | Description |
---|---|---|
color |