fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
rgb_to_hsv
Subroutine
26 statements
Source File
fortplot_colors.f90
fortplot_colors
rgb_to_hsv
Contents
public subroutine rgb_to_hsv(rgb, hsv)
Convert RGB to HSV color space
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=wp),
intent(in)
::
rgb
(3)
real(kind=wp),
intent(out)
::
hsv
(3)