parse_color_rgba Subroutine

public subroutine parse_color_rgba(color_str, rgba, success)

Parse color string to RGBA values [0,1] including alpha channel

Arguments

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