# US 2012/0075328 A1 · Systems, methods, and computer-readable media for changing colors of displayed assets

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0075328 A1
- Document ID: US20120075328A1
- Status: Published application
- Kind: A1
- Application number: 12/892,624
- Filed: 2010-09-28
- Published: 2012-03-29
- Earliest claimed: 2010-09-28
- Assignees: Apple Inc.
- Inventors: Thomas Goossens
- Web page: https://patentgrep.com/patent/US20120075328A1

## CPC

- G09G 5/06: using colour palettes, e.g. look-up tables
- G09G 2320/0606: Manual adjustment
- G09G 2320/0666: for control of colour parameters, e.g. colour temperature
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

Systems, methods, and computer-readable media are provided for changing a color of an asset used as part of a displayed avatar from an initial color to an destination color. An indexed color can be defined for the asset, where initial colors of the asset that are sufficiently similar to the indexed color can be changed to replacement colors. In particular, the replacement colors can include gradients or other optical effects that may be similar to those of the initial colors. A model encoding color information for each pixel of an asset can include a color index indicating whether the color of the pixel is changeable. In some cases, the model for a particular pixel may be converted from a RGB model to a HSV model for reducing the processing that may be required to define replacement colors when a selection of a destination color is received.

## Claims

### Claim 1

A method for changing a color of an asset that comprises a plurality of colors, the method comprising:
displaying the asset;
receiving an instruction to change one of the plurality of colors to a destination color;
identifying at least one pixel of the asset to change from an initial color to a replacement color, wherein the at least one pixel is associated with a color index corresponding to the one of the plurality of colors; and
defining replacement values for a hue, saturation, and value of the at least one pixel corresponding to the replacement color, wherein the replacement values are defined from a model of the initial color and from a model of the destination color.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the model of the initial color comprises at least one of a hue, saturation, and value of the initial color; and
the model of the replacement color comprises at least one of a hue, saturation and value.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
pre-processing the asset to define, for the at least one pixel, the model of the initial color.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
identifying a plurality of pixels defining an initial color gradient based on the initial color; and
determining a replacement color for each of the plurality of pixels defining a replacement color gradient based on the destination color.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
converting the defined replacement values for the hue, saturation and value of the at least one pixel to a red, green, blue (RGB) model for display.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
displaying an avatar, wherein the avatar comprises a plurality of assets comprising the asset.

### Claim 7

An electronic device, comprising control circuitry operative to:
receive a selection of an indexed color associated with an asset;
receive a selection of a threshold corresponding to a range of colors relative to the indexed color;
determine, for each pixel of the asset, whether an initial color associated with the pixel is within the range of colors for the indexed color; and
in response to determining that the initial color associated with a pixel is within the range of colors, modify an encoding of the pixel to replace at least one least significant bit with a color index indicating that the color of the pixel is changeable.

### Claim 8 (depends on 7)

The electronic device of claim 7, wherein the control circuitry is further operative to:
identify a hue of the indexed color;
define a range of hues corresponding to the threshold;
retrieve, for each pixel of the asset, a color model that includes hue, saturation, and value; and
compare the hue of each pixel with the defined range of hues to determine whether the color of the pixel is changeable.

### Claim 9 (depends on 8)

The electronic device of claim 8, wherein the control circuitry is further operative to:
retrieve the asset encoded using an initial red, green, blue (RGB) model; and
convert an encoding of the asset to a hue, value, saturation (HSV) model.

### Claim 10 (depends on 9)

The electronic device of claim 9, wherein the control circuitry is further operative to:
convert the encoding of the asset back to a processed RGB model that comprises the color index, wherein the color index comprises two bits, and wherein at least one of the red, green, and blue components of the processed RGB model comprises one less bit than in components of the initial RGB model.

### Claim 11 (depends on 9)

The electronic device of claim 9, wherein the control circuitry is further operative to:
store the initial RGB model using 32 bits; and
store the HSV model using 24 bits.

### Claim 12 (depends on 7)

The electronic device of claim 7, wherein the color index indicates one of:
the color of the pixel is changeable relative to a first indexed color;
the color of the pixel is changeable relative to a second indexed color;
the color of the pixel is changeable relative to a skin color; and
the color of the pixel is not changeable.

### Claim 13 (depends on 7)

The electronic device of claim 7, wherein the control circuitry is further operative to:
identify a set of pixels comprising each pixel of the asset having a color index indicating that the color of the pixel is changeable; and
process each pixel of the identified set of pixels to convert an encoding of the pixels to a model comprising components used to define a replacement color for the pixels.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein the control circuitry is further operative to:
convert the encoding of each pixel of the identified set of pixels to a model that comprises components for value, transparency, and saturation.

### Claim 15

A method for processing an asset used as part of an avatar, the asset comprising a plurality of elements for which a color can be changed, the method comprising:
retrieving an indexed color and an index threshold associated with the indexed color;
retrieving a hue associated with each element of the plurality of elements of the asset;
identifying, from a hue of the indexed color and from the index threshold, a range of hues that are changeable in the asset;
incorporating a color index in a model encoding the color of each element for which the retrieved hue is within the range of hues, wherein the color index indicates that the color of the element that is changeable; and
defining a processed model for each of the elements for which the color of the element is changeable, wherein components of the processed model are used to define a replacement color for the element.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
converting an initial red, green, blue (RGB) model of each element of the plurality of elements of the asset to a hue, value, saturation (HSV) model of the elements.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
modifying the initial RGB model to a processed RGB model, wherein at least one least significant bit of the initial RGB model is replaced with color index information in the processed RGB model.

### Claim 18 (depends on 15)

The method of claim 15, further comprising:
receiving an instruction to change the indexed color to a replacement color;
identify the set of elements comprising each element for which the color index indicates that the color of the element is changeable; and
defining a replacement model for encoding a replacement color for each element of the identified ser elements, wherein components of the replacement model are defined using the components of the processed model.

### Claim 19 (depends on 18)

The method of claim 18, wherein:
the components of the processed model comprise at least one of a value, transparency, and saturation component.

### Claim 20

A computer-readable medium for changing a color of a displayed asset, the computer readable medium comprising computer program logic recorded thereon for:
displaying the asset comprising a plurality of colors;
receiving an instruction to change an indexed color of the plurality of colors of the asset to a destination color;
identifying at least one pixel of the asset to change from an initial color to a replacement color, wherein the initial color of the at least one pixel is associated with a color index corresponding to the indexed color; and
defining replacement values for a hue, saturation, and value of the at least one pixel corresponding to the replacement color, wherein the replacement values are calculated from a model of the initial color and from a model of the destination color.
