java.lang.Object
com.thecoderscorner.menu.domain.state.PortableColor

public class PortableColor extends Object
  • Constructor Details

    • PortableColor

      public PortableColor(int red, int green, int blue)
    • PortableColor

      public PortableColor(int red, int green, int blue, int alpha)
    • PortableColor

      public PortableColor(String htmlCode)
  • Method Details

    • getRed

      public int getRed()
    • getGreen

      public int getGreen()
    • getBlue

      public int getBlue()
    • getAlpha

      public int getAlpha()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object