How to choose right color combination to the Barcode?
How to choose right color combination to the Barcode?
While customizing the barcode main thing to consider color combinations, which is important to choose right color combination to the barcode for recognizing with scanner. This article explains you about how to choose right color combination to the Barcode in Xamarin Android.
Barcode color can be customized by the DarkBarBrush and LightBarBrush properties. It’s important to use light colors for the background and dark colors for the barcode.
Right color combination
Below are color combinations are scan-able. The best contrast is obtained when the background reflects all the light and the bars reflect none which can that can work for barcode labels. Dark and light color combination will always work with all type of Barcodes.
Black on White Blue on White Green on White
|
Black on Yellow Blue on Yellow Green on Yellow
|
Black on Red Blue on Red Green on Red
Wrong Color Combination
If the background and bar colors, both are too light or too dark, the scanner won’t be able to read the barcode label. Below are color combinations are Non scan-able.
|
Red on White Yellow on White Light Brown on White
|
Black on Yellow Black on Green Black on Blue
|
Red on Blue Green on Blue Brown on Blue