What type of color is this 0xfffbb448? [closed]

The color code 0xFFfbb448 is how you define a hexadecimal color in flutter. It starts with 0x, then 2 digits that represents the opacity/transparency, and then the last 6 digits is the color code Hex #.

You can get the 6 digit color code # from many sources such as https://htmlcolorcodes.com/ or https://www.w3schools.com/colors/colors_picker.asp

You may also find the 2 digits transparency code from sources such as https://gist.github.com/lopspower/03fb1cc0ac9f32ef38f4

An example:
Colors.blue.withopacity(0.5) would be the same as Color(0x800000FF)
where 80 means 50% opacity, and #0000FF is Hex color code for blue

There are many sources out there and similar questions like the below link to find out more.
How do I use hexadecimal color strings in Flutter?

Leave a Comment