Represents an RGBA color in floating-point (from 0 to 1.0).
This primarily exists to provide a tested out-of-the-box solution when utilizing APIs that work with FP colors.
Constructors and setters come with in-contracts to assert one won’t run into out-of-range color values.
Constructs a FP color from an integer one
See Implementation
Added December 20, 2023
Represents an RGBA color in floating-point (from 0 to 1.0).
This primarily exists to provide a tested out-of-the-box solution when utilizing APIs that work with FP colors.
Constructors and setters come with in-contracts to assert one won’t run into out-of-range color values.