colorScale

fun colorScale(colors: List<Color> = listOf(StyleDefaults.heatmapLowColor, StyleDefaults.heatmapHighColor), min: Double? = null, max: Double? = null): HeatmapColorScale(source)

Returns a theme-aware sequential scale from a light tint to the primary color.