Skip to content

Change Colors.fromARGB() to Colors.fromRGBA() #5289

@dvdwasibi

Description

@dvdwasibi

This is a potential usability improvement.

  • Usually when designers/developers specify color, the order is RGBA.
  • This is also true for CSS.
  • Alpha value is also usually from 0-100 or 0.0-1.0 instead from 0-255.
  • This will reduce cognitive overhead for designers/developers coming from the web world.

Examples:
Chrome:
screen shot 2016-08-08 at 12 07 43 pm

Sketch:
screen shot 2016-08-08 at 12 09 23 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions