color-palette Questions

4

Solved

I want to extract dominant color from a image so that i can apply it as blending to other images. how can i achieve that?? In my current code i have given color manually but i want it to be generat...
Semifinalist asked 3/7, 2020 at 15:15

8

Solved

Is there is a simple way to implement a color-picker popover in Swift? Are there any built-in UI elements that I could leverage for this purpose?
Marcusmarcy asked 29/11, 2014 at 23:39

4

Solved

I'm having a little trouble with customizing my colors for a lineplot. I want to show an ensemble of spectras with a sequential color palette. The argument "palette="blues" works fine, but does not...
Rapeseed asked 9/8, 2018 at 9:4

4

I hope to change the color palette for stackplot so that the large area has a light color, the smaller area has a bright color. import numpy as np import pandas as pd import matplotlib.pyplot as p...
Visayan asked 18/5, 2018 at 6:17

6

Solved

I have following data.frame with rgb values. Hence each row indicates a color. pdf <- read.table(header = TRUE, text = " r g b 0.374 0.183 0.528 0.374 0.905 0.337 0.051 0.662 0.028 0.096 0....
Nidifugous asked 8/9, 2014 at 14:12

3

I've been making use of OxyPlot lately, and was wondering if there is a way of overriding the default Color Palette of PlotSeries / PlotModel? I know i can set the color individually for each seri...
Ketcham asked 23/3, 2015 at 15:54

6

Solved

Since the early days of thermal imaging, infrared cameras often use a distinctive palette that runs from black through blue, magenta, orange, yellow to bright white. This palette is often called Ir...
Monied asked 13/2, 2015 at 8:32

11

I am plotting a categorical dataset and want to use distinctive colors to represent different categories. Given a number n, how can I get n number of MOST distinctive colors in R? Thanks.
Blane asked 7/3, 2013 at 21:59

3

Solved

I have a list of colors, and I have a function closest_color(pixel, colors) where it compares the given pixels' RGB values with my list of colors, and it outputs the closest color from the list. I ...
Margertmargery asked 23/1, 2022 at 15:43

7

Solved

Microsoft Chart for .NET (3.5, 4.x) has predefined palettes e.g. Berry, Bright, SeaGreen etc. Is there anywhere a list of colors for each palette (hex or named)? Thanks!
Incorrupt asked 7/1, 2013 at 22:2

1

Solved

I am trying to use the sequential color brewer palette of seaborn scatter plot, but it does not work properly. This is what I have done so far. I would appreciate any help. import seaborn as sns fr...
Sinuate asked 6/7, 2021 at 8:41

1

I am looking for a way to retrieve the array of color objects you can set in the theme using add_theme_support('editor-color-palette', [...]); Somehow I cannot find any information in the documenta...
Supralapsarian asked 2/4, 2019 at 8:55

1

Solved

Adding seaborn figures to subplots is usually done by passing 'ax' when creating the figure. For instance: sns.kdeplot(x, y, cmap=cmap, shade=True, cut=5, ax=ax) This method, however, doesn't ap...
Granthem asked 24/5, 2018 at 18:40

2

Solved

I'm trying to generate a rainbow with 15 different colors with (runnable code here): size(360,100); colorMode(HSB, 360, 100, 100); // Hue in degrees in [0, 360], // saturation/brightness in [0,...
Kinna asked 17/12, 2017 at 19:53

3

I need to show a "continuous" color palette for color selection inside a ContextMenu. Similar to CustomColorDialog that pops up on ColorPicker. Is there a different class for this purpose or is i...
Peters asked 27/11, 2014 at 13:29

1

Solved

I'm trying to merge two colorRampPalette schemes to use in leaflet and have been following this nice example. That example works fine but I can't seem to get it to work for my work, reproducible ex...
Archon asked 20/2, 2020 at 13:50

1

Solved

I'm trying to change the colours of a map (shapefile data), created by a code similar to this: mapView(MyData, zcol="Column_Name") The "Help" page gives two different ways to change colour by us...
Comstockery asked 6/2, 2020 at 16:16

1

Solved

I have a scatterplot that should show the changes in bond lengths depending on temperature. I wanted to give each temperature a specific color, but it doesn't seem to work - plot uses the default s...
Clipfed asked 11/1, 2020 at 14:29

2

I'm updating a program from SDL 1 to SDL 2 and need to use color palettes. Originally, I used SDL_SetColors(screen, color, 0, intColors); but that does't work in SDL 2. I'm trying to use: SDL_Pale...
Brace asked 13/4, 2015 at 15:43

3

Solved

Question: Is there is any way (in JS) to create a random color code using just bright colors, or pastel colors? I am building a simple website that gives a random quote when I click a button, and w...
Cooksey asked 3/4, 2017 at 20:4

1

Solved

I want to generate different shades of a colour going from lighter tone to darker tone colfunc <- colorRampPalette(c("green", "red")) colfunc(10) plot(rep(1,10),col=colfunc(10),pch=19,cex=3) ...
Hardihood asked 21/6, 2018 at 14:15

1

I am curious if you have some tips on colour-brewing in R, for many distinctive colours, in a way that the graph is still good-looking. I need a fair amount of distinctive colours (24 at least, p...
Jere asked 13/5, 2018 at 21:59

6

Solved

I'm trying to figure out how to sample all of the pixels in an image and generate a palette of colors from it, something like this or this. I have no idea where to even begin. Can anyone point me i...
Violetavioletta asked 28/4, 2011 at 19:22

1

Below I've constructed an Upset plot. I'm using a palette of colors to define the bar colors. Is there a way to do this for the matrix of connected dots as well? library(dplyr) library(RColorBrewe...
Indre asked 14/9, 2017 at 15:39

1

Solved

I need to draw 3 different plots setting the same scale range color. I have 3 matrices with different range of values. For example: range(matrixA) # 0.60 0.85 range(matrixB) # 0.65 0.95 ran...
Disappoint asked 20/6, 2017 at 14:23

© 2022 - 2024 — McMap. All rights reserved.