Class NameColor


  • public class NameColor
    extends Object
    Represents a color preset for a user's name.
    Has light and dark colors for light and dark backgrounds.

    This class is immutable and thread-safe.
    • Method Detail

      • getLight

        public Color getLight()
        Gets the color for use on light backgrounds.
        Returns:
        a Color object with color info
      • getDark

        public Color getDark()
        Gets the color for use on dark backgrounds.
        Returns:
        a Color object with color info