b8180d9f6d41dc708a2f249ba892cbca311e7a06
jcasper
  Mon Feb 27 11:38:55 2023 -0800
Adding transparency support for colors refs #30569

diff --git src/hg/utils/genePredToBigGenePred/genePredToBigGenePred.c src/hg/utils/genePredToBigGenePred/genePredToBigGenePred.c
index e1676d2..d7e79cc 100644
--- src/hg/utils/genePredToBigGenePred/genePredToBigGenePred.c
+++ src/hg/utils/genePredToBigGenePred/genePredToBigGenePred.c
@@ -215,30 +215,31 @@
 
 struct hash *hashColors(char *fileName)
 /* Given a four column file (key, r, g, b) return a hash. */
 {
 struct lineFile *lf = lineFileOpen(fileName, TRUE);
 char *row[4];
 struct hash *hash = hashNew(16);
 while (lineFileChopTab(lf, row))
     {
     char *name = row[0];
     struct rgbColor *color;
     lmAllocVar(hash->lm, color);
     color->r = atoi(row[1]);
     color->g = atoi(row[2]);
     color->b = atoi(row[3]);
+    color->a = 255;
     hashAdd(hash, name, color);
     }
 lineFileClose(&lf);
 return hash;
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 
 optionInit(&argc, argv, options);
 if (argc != 3)
     usage();
 isKnown = optionExists("known");