Interface BaseTonalPalette
- All Known Implementing Classes:
BimodalTonalPalette, ColorBlindTonalPalette, TonalPalette
public interface BaseTonalPalette
-
Method Summary
-
Method Details
-
tone
int tone(int tone) Create an ARGB color from this palette and the provided HCT tone.- Parameters:
tone- HCT tone, measured from 0 to 100.- Returns:
- ARGB representation of a color with that tone.
-
getHct
Given a tone, return the HCT color that corresponds to it in this palette.
-