How do I target a specific color on a color mask - unreal-blueprint

I have this mask that I created and I’m trying to target each color individually so I can make textures for those pieces. I figured out how to do the Red, Green, and Blue portions. But I cannot for the life of me figure out how to target the Yellow, Megenta, or Cyan colors individually.
Here is my mask and my blueprint so far.

Related

Calculate secondary color with similar distance of existing color pair

Libraries like Bootstrap often provide pre-defined color schemes, e.g. for buttons and alerts (i.e. success, info, warning and danger). In HTML they usually consist of a background-color and border-color, the latter usually having the same tone of color, but being slightly lighter or darker. Let's say we have a button with a light green background and a dark green border.
When customizing the color scheme, I often want to replace the primary color, but maintain the distance that the primary color and its secondary color have (e.g. highlight or outline). Assuming I want to turn the button red as primary color, how do I calculate the secondary color, so that it has the exact same distance, that the light green and dark green had?
For example, the existing button style is:
background-color: #343A40;
border-color: #243030;
Customizing the color scheme as follows:
background-color: #8D33AB;
border-color: ???;
Currently, I translate the HEX code to RGB format and then calculate the distance of red, green and blue channel individually. Then I apply the same distances to my new primary color (i.e. adding or substracting). Is there any easier way to substitute a color, maintaining the distance of the known color pair?

Can you put AI layers seperately into code

I have an illustration in one main colour. As an example, orange. I use lighter and darker orange colours for contrast. I want to do the same with any colour via Css without recolouring the illustration in Illustrator. How can I get an AI file with the layers into the code so that I can then change only the main colour?

Scichart: How to give circular chart 3 or more different colors

How to color a circular chart with 3 or more colors like the picture attached. Please note the transitions between the colors.

How to darken colors opacity in Hex code

After reading this link, I know how to lighten the opacity of a color.
But is there any method to darken the color's opacity?
If by "darken opacity" you mean moving from a clear blue to a dark blue, and if your question concern HTML/CSS (and not Android like your link suppose) you could use HSL Colors instead of using RGB.
Here is a link where you can find out how tu use CSS colors : http://www.w3schools.com/cssref/css_colors_legal.asp
/** This is CSS **/
#light {background-color:hsl(120,100%,25%);}
#normal {background-color:hsl(120,100%,50%);}
#dark {background-color:hsl(120,100%,75%);}
/** 3rd value reprensent black value **/
But if you just mean make your color more/less opaque, you could just use Alpha (Available in RGBA in CSS for example)
You can find out how to use RGBA in the 1st link to!
/** This is CSS **/
#opaque {background-color:rgba(0,255,0,1);}
#transparant {background-color:rgba(0,255,0,0.5);}
/** The 4th value reprensent alpha/opacity and goes from 0 (transparant) to 1 (opaque)
Hope it helped you
The way to darken a particular colour is to keep the RBG ratios the same but just lower the numbers, if you look at RBG for black its 0,0,0 so by being closer to 0 you get a darker colour.
Hope that sheds a bit of light on how RBG colour system works.

apply different colours to rectangle

I Have one rectangle. I wanted to do some animated stuff with colour on that.
That mean it should start filling with different colours in the rectangle.
It should start coming from left to right.
For example i have four colurs. Red green blue,orange.
so first 25% should be filled upwith red, next 25% with green, next 25% with blue, and remaining with
orange. First I tried to achieve the same result by using the rectangles on top of another rectangle.
so I could change the rectangles colour one by one. But the problem is, I could not remove the border for
those subrectanlge's. That is the reason itwas visible as some kind of parts in the rectangle. It was showing
as if we divided the rectangle into four with colours. I dont want to show in that. I wanted to start applying
with different colours. Any Idea how do I do that. I am lacking logical things. We can say something progressbar with different colours.
To take out the borders of the rectangles with Graphics, you just don't call the graphics function to draw. Example:
public void paint(Graphics g) {
Graphics2D g2 = (Graphics2D)g;
//Rectangle with Color_1
g2.setColor(color1); //This would be red
g2.fill(rect1);
//Rectangle with Color_2
g2.setColor(color2); //This would be green
g2.fill(rect2);
... //Repeat for other rectangles
g2.dispose()
}
Now the programmatic part would be trickier. You'd have to increase each rectangle separably.
Another way to do this would be to have a look at Color Blending. I don't really know if that's what you need but anyways:
http://www.java2s.com/Code/Java/2D-Graphics-GUI/Commoncolorutilities.htm
http://www.dbuggr.com/leothenerd/blend-rgb-color-function-java/
You'd obviously have to keep changing the colors with g2.setColor(Color) and also keep changing the color itself to suit your need.