Home > front end >  What is color matrix code of "Denim blue"color on flutter?
What is color matrix code of "Denim blue"color on flutter?

Time:10-20

this is my code

 ColorFiltered(
                          colorFilter: const ColorFilter.matrix([
                            0.0, 0.0, 0.0, 0.0, 0.0, //
                            2.0, 0.0, 0.0, 0.0, 0.0, //
                            0.0, 0.0, 3.0, 0.0, 0.0, //
                            0.0, 0.0, 0.0, 1.0, 0.0, //
                          ]),
                          child: Image.asset(
                            "assets/step1.png",
                            height: 50,
                            width: 50,
                          ),
                        ),

output is blue

enter image description here

I want this blue

enter image description here

color code #1560BD What is color matrix for this color code ?

I want like this color (expecting color) enter image description here

CodePudding user response:

Try below code hope its help to you, I have refer image

  • Related