I think mat.diffuse_color is an array of three floats that represent rgb, so you will need to convert your hsv to rgb before setting it. You can use the Color class to do this:
Hi, a person with an avatar of Pikmin! =)
It looks like we’ve never played that game but it’s a relaxing game, maybe?
Thank you for telling me that cord!
However, although this can be done, the color selector of material diffuse in Blender-pop-up remains as RGB. But I will not care if this is a specification.
And it was important for us to be able to use hsv! Thank you.