# File lib/as_color.rb, line 59
    def initialize(r, g, b, a=1)
      @r = r.to_f.clamp(0, 1)
      @g = g.to_f.clamp(0, 1)
      @b = b.to_f.clamp(0, 1)
      @a = a.to_f.clamp(0, 1)
    end