flutter use hash color code code example Example: flutter color hex const color = const Color(0xffb74093); // Second `const` is optional in assignments.