HexColor v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Nikolai Wüstemann
Enter a Hex / RGB 8bit / Float value to create your desired color.
Requirements:
11.0, 10.5, 10.0, 9.0, 8.0, 7.1, 7.0, 6.3, 6.2, 6. or later
Linux, Mac, Windows
17 Sep 2018
155

Overview:

 

Node Appearance

This Node works like a Constant.

 

Except you can choose your color value by entering a 

- Hexadecimal color

- standard Nuke float color

- RGB 8bit color

 
 

Settings

 

More Information:

- Changing any value will update all other values respectively

- Colorspace conversions are taken into consideration. sRGB should do the job in the most cases though

- If bugs are found, please comment ;)

 

How to Install:

- the download contains a .nk file and can be pasted in live scripts

- for permanent installation, copy the HexColor.nk file to 'C:\Users\username\.nuke'

- edit the file 'C:\Users\username\.nuke\menu.py' and add the following line:

nuke.menu('Nodes').addCommand('Other/HexColor', lambda: nuke.createNode('HexColor.nk'))

Please login in order to download these files.

Comments   

 
# Harry Hextall 2019-04-24 11:02
Hello, When I input a HEX value, the float value doesn't change on my Nuke. Any thoughts?

EDIT: Temp fix is to write expression in each RGB Float value to be the below divided by 255
 
 
# Nikolai Wüstemann 2019-04-29 11:40
Hi, it works fine for me, changing the Hex field changes both float and 8bit values. What Nuke Version are you running? What does the Script Editor say?
 
 
# Harry Hextall 2019-04-29 12:09
Hey, thanks for getting back to me.

When i input any HEX value, the RGB changes to the correct value, but the float does not.

The script editor says the following:

ValueError: unable to sample node for given channel (rgba.red) at current context

NukeX 11.0v1
 

You have no rights to post comments

We have 2448 guests and 103 members online