Parse hex, rgb() and hsl() colours into one value object, convert between them, and cast model attributes to it with `attribute :accent, :color`.

Required Ruby Version

>= 3.4

Authors

Andy Croll

Versions

  1. 1.1.0
    1. source

      1. 1.1.0 source October 21, 2026 (19 KB)
  2. 1.0.0
    1. source

      1. 1.0.0 source October 21, 2026 (18 KB)

Pushed by

GitHub

SHA 256 checksum

Provenance