Flutter Color Generator

This simple tool can be used to generate main color and its shades for Flutter

The result can be used in Color.fromRGBO() and Color.fromARGB() to define color in a Flutter app.

  • Color.fromRGBO() – This method creates a color from red, green, blue, and opacity, similar to rgba() in CSS.
  • Color.fromARGB() – Construct a color from the lower 8 bits of four integers. a is the alpha value, with 0 being transparent and 255 being fully opaque. r/g/b is red/gree/blue, from 0 to 255.
Tap the color button to pick
rgba(255, 0, 0, 1.0)
Color.fromRGBO(255, 0, 0, 1.0)
Color.fromARGB(255, 255, 0, 0)
Copy

Leave a Comment

Your email address will not be published. Required fields are marked *

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close