Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.awt.Color;
import java.util.Arrays;

public class Main {
    public static void main() {
        int red = 23;
        int green = 66;
        int blue = 99;

        float[] hsb = Color.RGBtoHSB(red, green, blue, null);
        System.out.println(Arrays.toString(hsb));

    }
}