View Single Post
02-08-22, 12:02 PM   #6
Firesong
A Deviate Faerie Dragon
Join Date: Jan 2022
Posts: 19
Unhappy

Originally Posted by Fizzlemizz View Post
Grab a calculator and enter 12 divided by 255. I'd be surprised if you ended up with 9.

1 is to WoW what 255 is to Paint.
local r = 12/255;
local g = 34/255;
local b = 56/255;
MapFrame.texture:SetColorTexture(r, g, b)

In Paint, the resulting frame color is 7, 79, 112.

I wonder if I have a faulty graphics card or something. Yet the values that are entered as 255 and 0 work fine.

Thanks for trying.
  Reply With Quote