rgbToHsv function

HSVColor rgbToHsv({
  1. required int r,
  2. required int g,
  3. required int b,
  4. required int a,
})

Implementation

HSVColor rgbToHsv({
  required int r,
  required int g,
  required int b,
  required int a,
}) =>
    HSVColor.fromColor(Color.fromARGB(a, r, g, b));