getColorRelative

suspend fun getColorRelative(value: Double, options: MTColorRampGetColorOptions? = null): List<Int>

Returns the RGBA color for a relative value between 0 and 1.