Color24 constructor

  1. @literal
const Color24(
  1. int value
)

Creates a Color24 from the lower 24-bits of the provided int value.

The value should be in the format 0xRRGGBB.

Implementation

@literal
const Color24(int value) : _value = value & 0xFFFFFF;