Module Spectrum_tools

OCaml library for color conversion and terminal querying.

Provides utilities for converting RGB colors to ANSI color codes using perceptual matching in LAB color space, and functions to query xterm-compatible terminals for their current colors.

module Convert : sig ... end

Color conversion functions for terminal colors.

module Query : sig ... end

Terminal query functions for detecting current colors.

module Private : sig ... end

Internal modules exposed for testing purposes.