Questions tagged [rbga]
8 questions
26
votes
3 answers
What are differences between RGB vs RGBA other than 'opacity'
I have moved beyond using standard colors in CSS by declaring them orange, blue, aquamarine, etc..., and have been using rgb() like so for the same colors respectively, rgb(255,165,0), rgb(0,0,255) and rgb(127,255,212) (thanks to the…

chris Frisina
- 19,086
- 22
- 87
- 167
2
votes
1 answer
Java RGBA bufferedimage to GIF bufferedimage
Need function that converts Java RGB bufferedimage to GIF bufferedimage but with colormap that is bigger than 256 colors.
Does anybody know if there are exist such library or a self-written function?

31415926
- 3,811
- 7
- 47
- 78
1
vote
0 answers
Genetic Algorithm in R: Specify number of 1s in binary chromosomes
I am using the rbga function, but my question still stands for other genetic algorithm implementations in R. Is there a way to specify the number of 1s in binary chromosomes?
I have the following example provided by the library…

vic
- 359
- 4
- 18
1
vote
1 answer
'Haze' or 'fog' appearing using python imshow - why does the black area look grey?
I hope this will be a pretty straight forward question. I am working on processing some images that I read in from FITS files into numpy arrays. I want to make an RGB image. The issue is that when I make the RGB image, there is this 'white haze'…

AD0AE
- 91
- 5
1
vote
3 answers
How to Convert #RGBto #RRGGBB
I have to convert a color string in the format #RGB to #RRGGBB like #0af To #RRGGBB now can any one help out here using android

GOLDEE
- 2,318
- 3
- 25
- 49
1
vote
1 answer
"subscript out of bounds" using rbga in R
I am using rbga in R, and the following error occurs during what seems to be the part of the function that applies elitism. Here is the session leading up to the error:
Testing the sanity of parameters...
The start conditions:
GA Settings
Type …

Sherlock
- 5,557
- 6
- 50
- 78
0
votes
1 answer
R: Refer to the chromosome in the evaluation function of rbga.bin
I am trying to use the rbga.bin genetic function in R.
I have a dataframe with 40 observations (rows) and 189 metrics (columns). In the evaluation function, I have to run a Principal Component Analysis on both the original dataset and the…

vic
- 359
- 4
- 18
0
votes
1 answer
How to check if two colors are close to each other?
Is there a way to check if a color is close to another color ?
For example whether a color ( say #D4FFA9 ) is close of being green?
something like :
boolean areColorsClose(int colorOne, int colorTwo) {}

Bisma Frühling
- 776
- 1
- 11
- 21