parse_color Subroutine

public subroutine parse_color(color_str, rgb, success)

Parse matplotlib-compatible color string to RGB values [0,1]

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: color_str
real(kind=wp), intent(out) :: rgb(3)
logical, intent(out) :: success