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

diff --git src/hg/makeDb/makeGencodeKnownGene/makeGencodeKnownGene.c src/hg/makeDb/makeGencodeKnownGene/makeGencodeKnownGene.c
index c28a066..355645c 100644
--- src/hg/makeDb/makeGencodeKnownGene/makeGencodeKnownGene.c
+++ src/hg/makeDb/makeGencodeKnownGene/makeGencodeKnownGene.c
@@ -184,35 +184,35 @@
 {
 writeOutOneKnownGeneNoNl(f, gp, hashes);
 fprintf(f, "0\t%s\t", gp->name);
 fprintf(f, "%s\t", genePredCdsStatStr(gp->cdsStartStat));
 fprintf(f, "%s\t", genePredCdsStatStr(gp->cdsEndStat));
 int i;
 for (i=0; i< gp->exonCount; ++i)
     {
     fprintf(f, "%d",  gp->exonFrames[i]);
     fputc(',', f);
     }
 fputs("\n", f);
 }
 
 
-static struct rgbColor pink = {255,51,255};
-static struct rgbColor black = {0,0,0};
-static struct rgbColor trueBlue = {12,12,120};
-static struct rgbColor mediumBlue = {80, 80, 160};
-static struct rgbColor lightBlue = {130, 130, 210};
+static struct rgbColor pink = {255,51,255, 255};
+static struct rgbColor black = {0,0,0, 255};
+static struct rgbColor trueBlue = {12,12,120, 255};
+static struct rgbColor mediumBlue = {80, 80, 160, 255};
+static struct rgbColor lightBlue = {130, 130, 210, 255};
 
 static void outputKnownGeneColor( struct genePred *compGenePreds, struct hashes *hashes)
 /* Output the kgColor table. */
 {
 struct genePred *gp;
 FILE *f = mustOpen("kgColor.tab", "w");
 struct rgbColor *color;
 
 for (gp = compGenePreds; gp; gp = gp->next)
     {
     color = &lightBlue;
     char *pdb = (char *)hashFindVal(hashes->genToPdb, gp->name);
     char *uniProtAcc = (char *)hashFindVal(hashes->genToUniProt, gp->name);
     struct wgEncodeGencodeAttrs *wga = (struct wgEncodeGencodeAttrs *)hashFindVal(hashes->genToAttrs, gp->name);