Custom blip color with rgba?

Hello everyone! Is it possible to create your own colors for Blisp, apart from those that are already available? I’m very interested in using my own colors for blips, preferably using RGBA. Thanks for the help!

There is a SetBlipColour native, however it doesn’t seem to be documented as to what the int format is for the actual color for some reason. See if you can find a script using it if you cant figure it out yourself.

Yeah I know the native and here are the colors: Blips - Cfx.re Docs But I want to create my own color that does not exist in the given list

Ah nice; it doesn’t appear that you can use your own colors for this as they seem to be pre-defined. There’s quite a few so it should hopefully be enough for what you are trying to do.

You are limited to the colors provided, but there is a way to set the alpha or opacity with the SetBlipAlpha native. Theoretically, you could put another blip on top of that one with a different color and opacity and create something unique. It would take patience, but it’s possible.

Not sure why this isn’t documented anywhere, but you can input a hex into the second parameter of the SetBlipColour native like so:

SetBlipColour(blip, 0xFFFF00FF) -- Yellow
SetBlipColour(blip, 0x0000FFFF) -- Blue
SetBlipColour(blip, 0x800080FF) -- Purple

-- Even some non "standard" colours
SetBlipColour(blip, 0xAF7CBFFF) -- "Weak pink"
SetBlipColour(blip, 0x00BC7AFF) -- Turquoise ish
SetBlipColour(blip, 0x2214BAFF) -- A type of blue

It can be any hex, those above are just some examples I came up with on the fly. If you want to use RGB then just find some sort of RGB to hex function in lua (or whatever language you are writing in).

1 Like