Can I define the color of each value in Kibana visualization by assigning it specific RGB?

I'd go through the tutorials Vega provides on their page (https://vega.github.io/vega-lite/tutorials/getting_started.html) and then check out sample data examples in kibana.
A simple example of reading colors from the data is here Vega chart for matrix stats (correlation) split!
An example of quite advanced heatmap in kibana: Vega chart for matrix stats (correlation) split!