How to use hex colours in Flutter?

For instance, Hipcall’s default colour is 025196. To use this hex colour in Flutter, prefix it with 0xFF and then use it like this: Color(0xFF025196).

theme: ThemeData(
  colorScheme: ColorScheme.fromSeed(seedColor: Color(0xFF025196)),
  useMaterial3: true,
),

All writing