color_from_hex

from noon import color_from_hex

Source-derived function. Host availability is not inferred from this listing. See reference scope.

color_from_hex(value: str | int) -> Color
ParameterKindAnnotationDefault
valuepositional or keywordstr | intNo default

Return annotation: Color

Create a Noon color from ``#RRGGBB`` or ``0xRRGGBB``.

Source declaration