Skip to content
  • Owen W. Taylor's avatar
    Switch to CSS interpretation of rgb() and rgba() colors · 5daab526
    Owen W. Taylor authored
    CSS3 defines a somewhat odd syntax for rgba() colors - the rgb values
    are integers from 0 to 255 or percentages and the a value is a
    float from 0 to 1. To avoid increasing the total amount of confusion
    in the world, make gdk_rgb_to_string() and gdk_rgb_parse() follow
    this syntax rather than using floats for r, g, and b.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=633762
    5daab526