Computer-implemented method for generating gradient color value array, apparatus, and computer-program product thereof
AssigneeBoe Technology Group Co., Ltd.
InventorsZhe Zhang, Yingjie Li, Linyi Fan
Life of this patent
Estimating the term…
Abstract
A computer-implemented method is provided. The method includes obtaining a first value of a first color setting of an operating system; obtaining a second value of a second color setting of an application on the operating system; and resetting the second color setting of the application to a third color setting based on a combination of the first value and the second value. The third color setting is different from the first color setting, and the third color setting is different from the second color setting.
Claims19
A computer-implemented method, the method comprising:
- obtaining a first value of a first color setting of an operating system;
- obtaining a second value of a second color setting of an application on the operating system;
- resetting the second color setting of the application to a third color setting based on a combination of the first value and the second value;
- and
- generating a gradient color value array based on a combination of the first value;
- the second value;
- and a total number of sampling points in a color space containing points corresponding to the first value and the second value;
- wherein the third color setting is different from the first color setting, and the third color setting is different from the second color setting.
An apparatus, comprising:
- a memory;
- one or more processors;
- wherein the memory and the one or more processors are connected with each other;
- and
- the memory stores computer-executable instructions for controlling the one or more processors to:
- obtain a first value of a first color setting of an operating system;
- obtain a second value of a second color setting of an application on the operating system;
- reset the second color setting of the application to a third color setting based on a combination of the first value and the second value;
- and
- generate a gradient color value array based on a combination of the first value;
- the second value;
- and a total number of sampling points in a color space containing points corresponding to the first value and the second value;
- wherein the third color setting is different from the first color setting, and the third color setting is different from the second color setting.
A computer-program product comprising a non-transitory tangible computer-readable medium having computer-readable instructions thereon, the computer-readable instructions being executable by a processor to cause the processor to perform:
- obtaining a first value of a first color setting of an operating system;
- obtaining a second value of a second color setting of an application on the operating system;
- resetting the second color setting of the application to a third color setting based on a combination of the first value and the second value;
- and
- generating a gradient color value array based on a combination of the first value;
- the second value;
- and a total number of sampling points in a color space containing points corresponding to the first value and the second value;
- wherein the third color setting is different from the first color setting, and the third color setting is different from the second color setting.
Dependencies are inferred from the claim text.