plaid-backgrounds
Description
Given a base64 encoded image, get the background color programmatically.
The code picks 2 pixels from the border of the image. If the colors at the pixels are the same, return that color. Otherwise, if the background color is inconsistent, return light gray as a fill color.
Usage
This can be used to fill in logos returned by the Plaid institution API. Note that while Plaid also returns primary_color
, this doesn't always align with our intuitive understanding of an image's background color.
Examples
Example 1
const allyLogo = "iVBORw0KGgoAAAANSUhEUgAAAJgAAACYCAMAAAAvHNATAAAARVBMVEVHcExhKWP//v9gKWJgKWJhKmNiKmRhKmNlLWVgKWL9//1jJ2NYJVi2n7bf0N9gNmDKt8r06fRxS3GDYYOObo+ojaibfptk/Qt4AAAACnRSTlMA+P//5HhLoCDG3GoG3QAACvtJREFUeNrNXIeCpCAMvYkdFcuM/v+nHlVBEsQpd7J7tztlnWcSXgqBP38+HXVZVFXTNHn+eOS5+KWqirL+8z9HXVRNnhEjb6rif8Cry0pgeogvasjX8urfyk6BSh0C3L9SoBLVlZH/Xql10WRvjean2Orqkb09HlV9R1i/g1ZX2RfG16F9B9b3oRWP7GvjUXyPtprsq6Mpb6bF7+qzzLMfjPxjoRXZj8ZnllY32c9GU99NjZ+rs8h+PN5UZ9ps7LLOGeLhpdn5DVxta4DYRxLIMD9f69KPcvT9sj7neRDwxMvtr5AFZt+6EBWmted8AjkYAyZ/iH8TH5fnLF5Pg9Z8aTq2aghUz95gEmgYk8D0TybBwTQus5CtfO+Zcq9NzjqP4JKoJi2nHQpzHqunJr4IuWXncsvrT/RoYQkbG1ZuxaQxaCXqLw/sNL6G7tzamm/gMrD0JwfAHFjmB1+H7nt2RvKEC0t/Wxsz0DROR61p0Ko3ecL86Lonhw2XBuLJzWgQLGTzVv6StvY5soLgiW7uwbMm2B5uz22vMO9947wja9/1ASVuXln30lq0n8b8D2fhU7vhwbRmJ7xWvkUUkiJ6MxFDPDQ6a3daaIpr3iYNbEIKcc18o08GIQ7/l8PT+u+mZxd1VM3lgEIS/XOC3a5JNSI/XBZZ4m6quGpgAtg6gZlwjBQMbXSWR6Af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cAB8F4EEpjfdYTuLVCdzHuHx4kytz4QvZ6pXWdQmz+P+auTzkk1MxcHWErHpHmrTNZdYFdUeeyfxEVme8gg1rdySAgm2KPbDRgySQhgVULvpLj2MDrt33gr56HdR8W2pgmXklhMlXXKDha5wYATTVFAZZ3Ty24p6LIWZf5YzF8ltJuq+5ZbDIDovcMNZ92zFJ9gDx4MB1anbfpp9eYHpAMJf6T6wpzCxmXjr5Jamm2cvXcgxTp2dI68dN7uPYz5fR7zNsehLc3kPs9uGJ1+GDJt0psc/Gxz5zGEhS2w4XR7BrWzrBt6J0pFtxTYzRd+runPSiIea0/b5vGAURvaOrlbLHDdAIzHHZ/UrPSA7X9RXt8cK3eXsWj76baJgJAYWR/b/6K6vK1SeiehTtozmSXWoGbgMj+Wl3o2GdszVca6iF4co//Neni4USVkfixQbM8USc3Mdpud/QTOFlSn7XUPdEKJARAuwnQJ2f3KxTt7Pre68cj25qu9NxcoXKaogg1NezuPNe9sytvJtnuO4EGzO9tmrBOyzZzaRUDI4NrY+U7eMrb8qPbBjZPThevuuCOBUfmwQ8jlGxs/gyBtXri3xzmyE1DbGKpK9b+li+KjLbwb3apt4jZGUwEYWcNe+ugwodubm3iPqyByIgls62j2sK8dtRwhVR8f6n6SN/43ETpzP3KYn2s/rvTWlLCY55T1Mt1y/IWN4qjBdd21AxvCRagrxxHUySdwyLvOPhr5tcMIfnhmyaEgcPUEk3+E7OqxEskHhHw4vnJEyF1w3fewl/sej3PfA4XuewTTjQ+tuu8xX/c9GO3GR8nd+PC9+x5XeOMDHm98JOaNDxHdj129SKf/6izdex5U6x7tmwDqv5w7fMfDkF3Z/eT46L/axm9G9cOergAAAABJRU5ErkJggg==";
getBackgroundColor(logo).then(color => {
console.log(color); // #602962
});
Raw Logo | Filled Logo |
---|---|
Example 2
const amexLogo = "iVBORw0KGgoAAAANSUhEUgAAAJgAAACYCAMAAAAvHNATAAAAt1BMVEVHcEwaoNsYoNuHzvNAnNYngsUrfMFLotkkissqfsI7teeDz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B1Q6m3MyoE7CelopRsQjhxy5STZTZcXDVzf+VTumIbcRysQoqVs93LltOeGa8FMEukMUkrLtMQFUQsTgXm43OfEzewQVTMyYv85cLZWwYhyKqTo7t7GJ+vGJCkqlZI0BxSCitFcEKUpW41zu5IGhIDP3NYfL83Xcux458Or4xUDiaKZoQU6Fkii9BebWXkYtxvfUJJkDmjsLaL74sFg0TCbHjR/zLzk0Loyo/13rM43vMhOHZOPCWt82bd4ymrkSlShLKLR+CYhEy6vW+Xu/iEjnA1sjMpQwWLSHKfL7cilfG+2DebPdKhw4OPSf9kJz9Clb9A087uquVEZk/jsfzSoJzOW7/sedDNcpdvXAtyNf/Tm3/aWY05qxbdwp4u5d6rlLrQ2Y05mz2LBFHUiZs83jqypUEosTnPLatWtNMEqtw56AEIvUNkSvkXZ/3xMdGWKpMtyOc1QaxYmAyft6j5NCeHpPicV2L2jCUG5uf/lzAZkAqz+EDPv+1WBrNCwvBpEh8/uuxJFpmkw5P1Y4RlVR/BgvRGjVXJ+Pv2SXfqn39g2HvGvXsksMHnKv+px5XW23WiVTSt0qrm3rzjz6A+K4BcEmShdUyUH/nucONZq3uxTIlYb32d6AIXrXRbNZqtXpdKFQXPzSbjerHkf4Hd7v1yyva590AAAAASUVORK5CYII=";
getBackgroundColor(logo).then(color => {
console.log(color); // #F4F5F7
});
Raw Logo | Filled Logo |
---|---|
License
Plaid background is MIT licensed