The argbValue must start with 0xFF if the default full opacity is required. So 0xFFFF0000 gives full opacity Red
- Companion:
- object
trait ElemInt1
trait ElemIntN
trait ElemValueN
trait SpecialT
trait FillFacet
trait GraphicFacet
class AnyVal
trait Matchable
class Any
Value members
Concrete methods
Returns the colour that most contrasts with the 2 colours. This is useful for text that is displayed across 2 background colours.
Returns the colour that most contrasts with the 2 colours. This is useful for text that is displayed across 2 background colours.