Interface BaseTonalPalette

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Hct getHct​(double tone)
      Given a tone, return the HCT color that corresponds to it in this palette.
      int tone​(int tone)
      Create an ARGB color from this palette and the provided HCT tone.
    • Method Detail

      • 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

        Hct getHct​(double tone)
        Given a tone, return the HCT color that corresponds to it in this palette.