rgb_to_hsv Subroutine

public subroutine rgb_to_hsv(rgb, hsv)

Convert RGB to HSV color space

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: rgb(3)
real(kind=wp), intent(out) :: hsv(3)