[SOLVED] What is the syntax error in my RGB -> HSB conversion?

Ok, fixed. Changing the import line to:

import java.awt.Color

fixed it. Got it from here: How to convert RGB to HSB and vice versa?

Thanks.

1 Like