Raxol.Terminal.Commands.OSCHandlers.ColorParser (Raxol v0.5.0)

View Source

Handles parsing of color specifications in various formats.

Summary

Functions

Parses a color specification string into an RGB tuple.

Functions

parse(spec)

@spec parse(String.t()) :: {:ok, {0..255, 0..255, 0..255}} | {:error, term()}

Parses a color specification string into an RGB tuple.