Sign in to follow this  
Followers 0
TRK

Color Variations

3 posts in this topic

#1 ·  Posted (edited)

The tooltip is coming up with some very odd looking color codes, white ends up being 167777215... Im looking for basic 0xFFFFFF format, or even RBG

Func _Color()
    $position=MouseGetPos()
        $Color = PixelGetColor($position[0], $position[1])
            TrayTip("Chosen HEX Color", $Color, 1)
        EndFunc
Edited by TRK

Share this post


Link to post
Share on other sites



Where do you convert the $color to hex? Try

TrayTip("Chosen HEX Color", Hex($Color, 8), 1)

BR,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

What do you mean with "How can I add a color variation to this"? What do you mean with color variation and what is "this"?

You have to be more precise!

BR,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0