Color#

Color is a category of nodes outputting color values.

color icon Color Nodes#

color node icon Color: Constant#

Outputs a single color value.

You can left mouse button click on the colored square to open the Color Picker.

Color Picker#

color picker
  1. color picker icon Color picker. Hold left mouse button and drag to select a color anywhere on the screen. This will select colors even from outside the application!

  2. reset icon Resets the color to the default for that parameter.

  3. close icon Closes the color picker. The color will remain at whatever is selected in the color picker. You can also click outside of the color picker to close it.

  4. Hue ring. Visualizes all the hues. The selected hue is indicated with a circle 7 You can left mouse button click or click and drag anywhere on the circle to select a hue.

  5. Brightness and saturation triangle. The three corners represent white, black, and a fully saturated color. The selected value is indicated with a circle 6 You can left mouse button click or click and drag anywhere on the triangle to select a color.

  1. Current Color

  2. HEX code. Here, you can type in a hexadecimal code to get a specific color by left mouse button clicking in the text field.

  3. RGB Mode. This will set the sliders to represent the color in Red, Green, and Blue values. All mapped from 0 to 255.

  4. HSV Mode. This will set the sliders to represent the color in Hue, Saturation, and Value. Hue is mapped circular from 0 to 360 degrees starting and ending with red, using this slider you can see the circle in the Hue ring turning. Saturation and Value are mapped from 0% to 100% ,saturation from grayscale to fully saturated and value from black to whatever is the brightest color based on the hue and saturation.

  5. Channel Values. These represent the numerical value of the slider next to it. left mouse button click within the text box to type in a value manually.

  6. Channel Sliders. These sliders can be used to change the color. The gradients on the sliders represent what the selected color would be if the indicator 14 was placed on that position. You can left mouse button click or click and drag anywhere on the slider to select a color.

  1. Swatch Dropdown.

  • Saved Colors Holds a palette of saved colors 16 You can save the selected color using the plus icon icon 18. You can remove a saved color by right mouse button clicking on one and selecting Remove 17.

  • Recent Colors Holds a palette of the last 9 colors used. When the color picker is closed, the selected color will be stored as the most recent color all the way to the right in the Recent Colors palette moving all the other colors one spot to the left and discarting the first one on the left.

color gradient node icon Color: Gradient#

  • Interpolation Color Space: A dropdown menu with different methods of interpolating color from one point in the color gradient to another.

  • Color Gradient: Creates a range of colors.
    • Add a point by left mouse button clicking on the gradient.

    • Move a point holding left mouse button and dragging.

    • Remove a point by selecting it with left mouse button and pressing Delete or by right mouse button clicking on it and selecting Delete.

    • Edit the color of a point by double-clicking left mouse button on it or by right mouse button clicking on it and selecting Change Color.

    • Use the color picker icon color picker to left mouse button click and drag over any application to source its colors for creating a gradient.


The color gradient context menu can be accessed by right mouse button clicking anywhere on the color gradient and has the following options:
  • Copy: Copy the color gradient (all points and interpolation color space).

  • Paste: Paste the color gradient. This will overwrite everything and replace it with the copied color gradient.

  • Reset: Resets the color gradient back to a two-point black to white color gradient.

  • Sort By Luminance: Rearranges all points based on luminance from dark to light.

  • Sort By Hue: Rearranges all points based on hue from 0 to 360 degrees.

  • Sort by Saturation: Rearranges all points based on saturation from low saturation to high saturation.

  • Equally Distribute: Rearranges all points to be evenly spaced over the color gradient.

  • Shuffle: Randomly rearranges all points. This option gives a random result every time it’s used.

  • Reverse: Rearranges all points backwards putting the last point first and vice versa.

color presets
  • Color Gradient Presets

Clicking the button with the iconPreset icon icon will open the gradient presets window. Here, you can organize, update, import, and export all your color gradients!

The section on the left is a list of categories or folders that can contain gradient presets:
  • all icon All contains all saved gradient presets.

  • favorite icon Favorites contains all presets marked as favorite by toggling the star icon on it.

  • ungrouped icon Ungrouped contains all presets that are not within a folder. A preset will end up in ungrouped if it’s either moved there or added when the all icon All, favorite icon Favorites, or ungrouped icon Ungrouped category is selected.

  • folder icon Folders can be created by the user to organise gradient presets. This is done using the add folder icon button in the bottom right corner. If a folder is selected, newly added presets will be put in that folder. You can rename or delete a folder by right mouse button clicking on it and selecting Rename or Delete. You can also move the folder position by left mouse button clicking and dragging it.

The section on the right is a list of color gradient presets:
  • The active preset is marked with a dot icon grey dot next to the favorite icon icon.

  • The favorite icon icon can be toggled to favorite or unfavorite a gradient preset.

  • left mouse button Clicking on a gradient preset will apply it to the color gradient parameter.

  • Shift + left mouse button clicking on a gradient preset will apply it to the color gradient parameter without closing the gradient presets window.

  • You can left mouse button click and drag a gradient preset to move it to a different position in the list.

The context menu which appears when clicking on a gradient preset has the following options:
  • rename icon Rename: Allows you to type in a new name for the gradient preset.

  • favorite icon Favorite/ unfavorite icon Unfavorite: Toggles if the gradient preset is favorite or not. Using the favorite icon icon on the gradient preset does the same thing.

  • update icon Update: Overwrites the gradient preset with the current color gradient parameter.

  • move to icon Move To…: Let’s you put a gradient preset into a specific folder.

  • export icon Export…: Opens a file browser to store the gradient as a JangaFX Color Gradient (.jfxcg) file in a desired location (Note that the Interpolation Color Space is also saved in the preset) or as a .png file that can be loaded into most software and used as, for example, a color input for another shader. The image resolution is 512 by 12 pixels meaning 512 different colors could be stored.

  • delete icon Delete: Removes the gradient preset completely. This can’t be undone!

The search icon search function on the top lets you search for gradient presets based on their names. It always searches through all the presets regardless of which folder they belong to.

The bottom of the window also has a couple of options:
  • add icon Adds the current color gradient parameter as a gradient preset and puts you into rename mode immediately to give your new gradient preset a name.

  • add folder icon Adds a new folder to the gradient presets window and puts you into rename mode immediately to give your new folder a name.

  • import icon Opens the file browser where you can select a JangaFX Color Gradient (.jfxcg) file to be added as a gradient preset into the gradient presets window. Embergen Color Gradient (.embercg) files are the old format but can also be imported for backwards compatibility.

color selector node icon Color Selector#

Outputs a single color from a Color Gradient node based on a specified position on the gradient.

Connecting Color Nodes#

Color nodes can be connected to color parameters.

The color of this parameter will then be controlled in the color node.

A color parameter is recognized by the colored square next to it.


The following are some examples of parameters that can be controlled by color nodes:

color parameters

To expose a color parameter pin for connecting a color node

set override state to pin override

you have to set the override state to Pin Override by left mouse button clicking the icon next to the parameter.

A color parameter can also have two squares next to it as with the color node icon Color: Constant node. This means that the parameter also supports an alpha channel.