Color.UnknownIlluminantError exception (Color v0.12.1)

Copy Markdown

Raised when an illuminant atom is not recognised by Color.Tristimulus.

Has fields:

  • :illuminant — the offending value.

  • :observer_angle — the observer angle (2 or 10), if known.

  • :valid — the list of valid illuminant atoms, when supplied.