wer[colors]))];
                                }
                            }
                            
                            function getColor(value, colors) {
                                for (var i in breakpoints) {
                                    if (value <= breakpoints[i]) {
                                        return palette[i];
                                    }
                                }
                                return palette[palette.length - 1];
             