colors Questions

9

Solved

There is probably something obvious I'm missing. Is there one property that can change the color of all the text in a Flutter app? The way I am doing it now is, in my MaterialApp: theme: ThemeDat...
Descender asked 9/3, 2018 at 23:36

3

Solved

Here's what I have, so far: f1 <- list( family = "Arial, sans-serif", size = 25, color = "white" ) f2 <- list( family = "Old Standard TT, serif", size = 14, color = "black" ) a <- ...
Churr asked 22/5, 2016 at 22:26

5

Solved

In RGB model, each pixel is defined by 3 bytes, for R,G and B respectively. This gives a total of 224 colors, including 256 tones of grey. It is very common to represent HSV/HSB/HSL models with flo...
Daveen asked 24/11, 2012 at 7:56

29

Solved

My fiddle - http://jsbin.com/pitu/1/edit I wanted to try an easy hex to rgba conversion. Ever browser I've used renders colors using rgb as default so when using the farbtastic color picker I'm co...
Lipophilic asked 8/2, 2014 at 13:43

6

Solved

How can I get a color name using JS/JQuery, knowing the code RBG/HEX? For example: Colorname RGB black #000000 white #FFFFFF red #FF0000 green #008000
Ray asked 10/2, 2012 at 7:47

14

Solved

I have an integer that was generated from an android.graphics.Color. It has a value of -16776961. How do I convert it into a hex string with the format #RRGGBB? Simply put: I would like to output #...
Diapositive asked 30/6, 2011 at 19:12

8

Solved

Given a set of PDF files among which some pages are color and the remaining are black & white, is there any program to find out among the given pages which are color and which are black & w...
Gillie asked 13/3, 2009 at 4:7

9

Solved

How can I convert a color in RGB format into a color name? Examples: (0, 0, 255) -> "blue" (255, 0, 0) -> "red" (128, 128, 128) -> "grey"
Katerinekates asked 8/11, 2010 at 16:53

3

Solved

I have a data frame like this BP R2 LOG10 96162057 0.2118000 2.66514431 96162096 0.0124700 0.31749391 96162281 0.0008941 0.07012148 96163560 0.5011000 2.48505399 96163638 0.8702000 3.37778598 an...
Forbes asked 28/8, 2013 at 12:4

23

Solved

Here is a function I was working on to programmatically lighten or darken a hex color by a specific amount. Just pass in a string like "3F6D2A" for the color (col) and a base10 integer (a...
Bunkmate asked 6/4, 2011 at 0:39

11

Solved

Is there an elegant method in bash for running grep against a text file with two or more patterns, and each pattern that matches is output in a different color? So a line that matches on MALE and...
Godwit asked 21/6, 2013 at 13:6

4

Is it possible to select transparent colors using built in <input type="color"> I haven't found a slider that does that. Is there some option additional I need to check?
Myrticemyrtie asked 30/9, 2017 at 13:38

16

Solved

I'm trying to write a function to shift the hue of an RGB color. Specifically I'm using it in an iOS app, but the math is universal. The graph below shows how the R, G, and B values change with re...
Odontoid asked 14/12, 2011 at 16:21

10

Solved

If you have a Colormap cmap, for example: cmap = matplotlib.cm.get_cmap('Spectral') How can you get a particular colour out of it between 0 and 1, where 0 is the first colour in the map and 1 is t...
Iconostasis asked 20/8, 2014 at 15:12

5

Solved

I tried this code: LinearLayout someLayout=(LinearLayout)view.findViewById(R.id.someLayout); someLayout.setBackgroundTintList(context.getResources().getColorStateList(Color.parseColor("#ff8800"))...
Apollus asked 15/12, 2017 at 17:50

2

Solved

How can i change color of unselected icon (on screenshot) in TabView (SwiftUI)? Because this icon is invisible
Sentiment asked 24/4, 2020 at 8:58

3

Solved

How can I change theme-colors (primary, secondary, etc.) in Bootstrap 5.X with sass only for dark mode? I get how I can change the primary color in both light and dark theme mode: custom.scss ... s...
Deenadeenya asked 9/2, 2023 at 13:45

3

When I write CSS, intellisense doesn't show me color box for hex value color but only icon. Before, Intellisense showed me color box for hex value. I don't know why. Now I use VS Code version 1.31....
Accountable asked 14/2, 2019 at 12:47

5

Is it possible to generate random color with pure CSS and without using javascript? It's probably impossible but I'm still curious.
Cirilo asked 10/3, 2013 at 21:39

8

Solved

If I have a SwiftUI Color: let col: Color = Color(red: 0.5, green: 0.5, blue: 0.5) How do I get the RGB components from col? Like this maybe: print(col.components.red) In UIKit, I could use U...
Lareelareena asked 13/6, 2019 at 17:51

27

Solved

I know that the color bf command sets the colors of the whole command line window but I wanted to to print one single line in a different color.
Quaver asked 12/1, 2010 at 11:28

11

Solved

I am looking for a way to change the color of a text of a single word in a TextView from within an Activity. For example, with this: String first = "This word is "; String next = "red" TextView t...
Furmenty asked 28/8, 2011 at 15:42

5

Solved

In my application I am using textfield.TextInputLayout and textfield.TextInputEditText as input text, instead of the usual EditText. This is my view: <com.google.android.material.textfield.Tex...

8

Solved

Does anybody know, off the top of your heads, a Javascript solution for calculating the complementary colour of a hex value? There are a number of colour picking suites and palette generators on th...
Frontpage asked 2/11, 2009 at 22:26

4

Solved

I have a RGB Image, which I plot with matplotlib.pyplot.imshow and it works fine. But now I want to change the plot, that where the value of the picture is e.g 1, the color of the plot should chang...
Viral asked 9/6, 2016 at 7:20

© 2022 - 2025 — McMap. All rights reserved.