Questions tagged [palette]

A helper class of Android to extract prominent colors from an image.

A helper class to extract prominent colors from an image.


Palette is an Android feature to support the developer to create a MaterialDesign feeling by generating a colorset of appropriate looking colors based on a bitmap source (app-icon e.g.).

Reference

359 questions
0
votes
2 answers

How to specify fill color and border line color from column data in gnuplot

I want to plot my data using boxxyerror bar in gnuplot data looks like this: #x y fill-color border-color 2 2 0.50 1.00 8 2 0.25 0.50 8 8 0.40 0.40 2 8 0.50 0.50 column 1 gives x…
fahd
  • 141
  • 7
0
votes
0 answers

C# Palette Pixel Change By Coords

I have a bitmap palette where i can easily change a single color for the whole palette or all of them by inverting them all for example: for (int i = 0; i < sprite.Palette.Length; i++) { int r = Byte.MaxValue - sprite.Palette[i].R; int g =…
0
votes
1 answer

Palette and also a specific color

It is possible create use a grey when the value in nycounties$dimension is 0 and in the rest use the palette? How can I do it? I have try an if in fill color but i have an error Error in getMapData(map) : argument "map" is missing, with no…
Inuraghe
  • 564
  • 3
  • 13
0
votes
1 answer

right order in levels (Likert) with negative and positive values, but wrong color assignment

I have a four-point Likert scale that I would like to stack by an ordered color palette that I have made (likert_palette), but there is always one side that is not ordered. Are there anyone with a solution on how to get the darkest red on the utmost…
0
votes
1 answer

How to display multiple custom colour palettes in a single figure with R

To expand upon visualize a list of colors/palette in R I am trying to display a series of custom colour palettes in R in a single figure. Is there a way that I can expand on one of the methods listed in the link to display the list of palettes…
rainbird
  • 193
  • 1
  • 9
0
votes
0 answers

Any indexed color mapping features in CSS?

When creating graphics in GIMP I often make several versions of graphics (like game characters with different outfits) using indexed color mode in the .png file where I develop the images so I can change the appearance of the graphics by just…
Billy
  • 61
  • 1
  • 2
0
votes
0 answers

Palette is blank on eclipse

My palette is not showing any widgets on eclipse. I installed the latest window builder software but still no sign of any widget. I found this similar issue on stack overflow--> Eclipse Juno WindowBuilder Palette is Empty But I still can't…
0
votes
0 answers

How to display a tooltip during mouseover on a select Option?

I'm actually working on a form that include a list box with Select options (using Tapestry 3.58). In the tml file, the select box is build as followed:
blaiso
  • 347
  • 4
  • 6
  • 15
0
votes
1 answer

Using the RColorBrewer with scale_fill_gradientn(), I keep getting the same error

I'm working with the following code: library('colorspace') blups <- brewer.pal(9, 'BuPu') geom_tile(aes(lon, lat, fill = predicted_price), alpha = 0.8) + scale_fill_gradientn(colors = blups) The error msg is: Check your call of…
CharlieS
  • 1
  • 1
0
votes
0 answers

PyQt5- Trying to change colour of lines under menubar in QMainWindow

I'm trying to change the colour of a couple of horizontal lines (the ones just above and below the horizontal toolbar) in a QMainWindow. I'm using QPalette to change the colours of the main window, and am able to set most things I want. However,…
0
votes
0 answers

How does one prevent a floating palette window from being treated as a document

I've built a document-based app in Swift for MacOS. Hit Cmd-N (New File) N times, and N document windows are created (and cascaded). So far so good. So I added a floating Palette window (and WindowController and ViewController, all in the…
jsbox
  • 304
  • 2
  • 11
0
votes
1 answer

Exporting a common color palette to be used in styled-components

We are using styled-components in our application. We want to use a common styles file containing all the colors we use. I have a file that contains: export const colors = { black: '#000', whiteTextBackground: 'rgba(0,0,0,.6)', // black at .7…
Demian Sims
  • 871
  • 1
  • 14
  • 29
0
votes
0 answers

pillow. how do I convert an image to a specific, defined palette

I need to convert an image to specific palette. It does not not need to use all the colours in that palette but it must not in any circumstances use colours from outside it. I also need to reduce the number of colours in the image to a defined…
0
votes
0 answers

How to convert the palette offset bytes to an image?

So, there I have a .ppz file, which contains offsets in palette array. Exactly this file contains 51 images. The first two bytes are the offset to the header. The header stores the width, height, image size and data size (size of the offsets bytes).…
0
votes
0 answers

Seaborn histplot doesn't work properly with custom palette

I simply cannot find a way to make seaborn.histplot show the correct colors of a custom palette I've created. It works just fine with other functions like seaborn.countplot, but in seaborn.histplot it desaturates all the colors. I've also tried to…