Questions tagged as 'cores'

2
answers

Why green = blue + yellow, but in RGB yellow = green and red?

Why does color formation in RGB does not follow the same pattern as nature, and does it work anyway? For example: In RGB, yellow = red and green: # FF0000 + # 00FF00 = # FFFF00. But if we take a yellow and a blue colored pencil (or paint,...
asked by 06.06.2014 / 00:01
7
answers

Hexadecimal for RGB

How do you convert a Hexadecimal color ( #FFFFFF ) to RGB ( R ed, G reen, B p> Example     
asked by 13.11.2015 / 18:07
3
answers

What happens to the 3-digit hexadecimal colors?

I've always been curious to know what happens in a 3-digit hexadecimal expression of a color in CSS. For example, you have 000 and 000000 , which is black. E fff or ffffff that is white. There are also other colors...
asked by 13.02.2017 / 13:29
1
answer

How do I get the predominant color in an image?

I'm taking a photo of a camera and passing it to a ImagemView and would like to take the predominant color of this image, how could I do this on Android? my class proximoLaiout (I wrote laiout with i for wanting kk) package com.exam...
asked by 05.08.2015 / 03:10
1
answer

Creating Properties, Summary, and Custom Colors for Methods and Types

Is there any way or attribute that places it on a Class, Method, Structure, or anything else that changes its color? Example of function CType : Noticethatitiscolored,anditsargumentsinsteadofCType(Expression,TypeName)AsTypegetsCType(<ex...
asked by 07.05.2015 / 22:14
2
answers

How to transform a hash into a color

How to transform a hash into a random color .. Notice that I used the hash expression just to say that a cluster of letters / numbers can be transformed into color like this: d0be2dc421be4fcd0172e5afceea3970e2f3d940 is non-nonsense, nonsens...
asked by 09.08.2015 / 17:54
2
answers

C: Change color of letters (multiple colors on one screen)

For example, I want to start on the same screen: printf(".___. .___. .___.\n"); printf("._1_. ._2_. ._3_.\n"); printf("Digite 0 p/ sair ou outro número p/ continuar: "); But I want the letters of each printf to have different col...
asked by 12.06.2015 / 06:32
2
answers

How to make a gradient background in CSS?

How do I make CSS with and by the end blue , being the first from top to bottom, the second from left to right and the third radial? Preferably a code that is valid in most browsers. HTML: <div class='conjunto'> <div&g...
asked by 08.03.2015 / 22:56
1
answer

Javascript function that generates html colors according to value

I need to create a Javascript function that takes an int and returns an html color code. The rule is: The smaller the number "cooler" is the color generated (light blue, for example) and the larger the warmer. However, the values must follow a g...
asked by 10.11.2015 / 00:24
2
answers

Capture RGBA values [closed]

I have an RGBA value that takes the color from a color palette. I need to get the separate values of each RGBA color component. I created 3 variables: var vermelho = (/*Tem que receber a primeira cor do RGBA red*/); var verde = (/*Tem que r...
asked by 02.08.2017 / 20:23