Yave_Yu
He/Him
Joined: 3/5/2017
Posts: 13
Can lua color use an ID of NES palette? Because HTML color code makes me an annoying, it displays differently on different palette. For example: #00B0FFFF displays as dark-cyan not sky-blue with FCEUX default palette. #00FF80FF displays as cyan not green with FCEUX default palette. And so on... So, can it use an ID of NES palette to solve this problem? Such as... gui.text(1,1,"This is a text.","21","#00000080")
Spikestuff
They/Them
Editor, Publisher, Expert player (2656)
Joined: 10/12/2011
Posts: 6449
Location: The land down under.
Drop the "FF" at the end and you'll get the hex colours you want. You're providing an Alpha value in your RGB and it doesn't like that most times (then again I have forgotten lua over time so ech). For example what you want was #00B0FF which does display sky-blue. Same stuff for the forums.
Yave Yu wrote:
#00B0FFFF displays as [color=#00a0a0]dark-cyan[/color] not [color=#00b0ff]sky-blue[/color] with FCEUX default palette.
Also I don't know why you changed the colours entirely on what you wanted when providing this post.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Post subject: Re: /thread
Yave_Yu
He/Him
Joined: 3/5/2017
Posts: 13
Spikestuff wrote:
Also I don't know why you changed the colours entirely on what you wanted when providing this post. Colour 1, "Incorrect" Colour 1.
I mean... see these SoundDisplay2.lua (modified) screenshot with 5 different palette: With Colorful16.pal With FCEUX default palette With FCEU 0.98.15 default palette With VirtualNES.pal With Smynes.pal