Jump to content

Alpha Opacity Issue in New Palette


Recommended Posts

Heyla, I've already successfully created and installed two palettes with my most-used colors on them. No problem. Just followed the directions here.

 

Well, I seem to be doing a bunch with metallics, so I decided to do a palette with my metallic tone in them.

 

Made it exactly the same as the other two, but when I installed it, all of the colors are set to an alpha opacity of 0, which was not the case with the other two. Sure, I can just slide it over to 255 on each color, but I'm trying to figure out what I did wrong.

Link to comment
Share on other sites

If you open your palette file in notepad, you can look at each individual line.

 

; Colors are written as 8-digit hexadecimal numbers: aarrggbb

Each line in the palette file should look something like this:

FFE0AC00

The 'FF' specifies the alpha - if you leave this out, the color will be transparent

The 'E0' specifies the red value

the 'AC' specifies the green value

the '00' specifies the blue value

  • Upvote 1

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

 

The 'FF' specifies the alpha - if you leave this out, the color will be transparent

 

Okay, that's what I did -- on this one, I was copying the six digits from another website on colors, and did not include the FF at the beginning of each line.

 

Easy fix. Off to correct the file.... many thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...