colorfield

Hi
I knew there is a way to dispaly color field, it is here:

but i don’t knew how to use it, can You give me part of code ?? I want to have something like this:

There was a “Unity Paint” project last year that included a color wheel selection tool. Search the past forum threads for that paint project and you’ll find what you’re looking for.

but why this:

col = EditorGUI.ColorField(Rect(10,50,200,200), col);

doesn’t work ?? there is some error