Kodi Community Forum

Full Version: Font Color and Hex Numbers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
g'day

been working on changing the font colors. and having a hard time with it. i was wondering if someone can shed some light! in know that set the colour with <textcolor>hex code</textcolor>. my question is how to find the hex color code number. i have tried on the manual site but not able to find much information on the hex codes and i have tried google/yahoo to find hex code, only to find hex code with 6 digits not eight digits. i have even tried possible cobination of codes to see if can maybe figure it out, but too no luck. mainly trying to get black fonts.

if you can shed some light, that would be fantastic.

thanks
the first 2 digits are for the alpha-channel i think. only the last 6 are important. here is a color code: http://www.heber-edv.de/diverse/farben.php

use it like this: ff123456
where 123456 is the color-code
correct - it outlines the format in the online manual (ie it says it's of the form aarrggbb). perhaps you could write up a little more information on this so we can add it to the online manual?

the alpha value is ofcourse important - it's how transparent the object is (ff is opaque, 00 is fully transparent).

opaque black is ff000000.

cheers,
jonathan
solo0815

damn your good. worked like a charm. thanks whole bunch.
:bowdown:
(ackman @ feb. 08 2006,14:05 Wrote:solo0815

damn your good. worked like a charm. thanks whole bunch.
:bowdown:
thx man!
but i give all back to the devs of xbmc Wink
I am interested in to get this modificated file for subtitle color font option changing. # ffce00

RGB

rgb(255, 206, 0)RGBA

rgba(255, 206, 0, 1.0)RYB

rojo: 23.7864%, amarillo: 100%, azul: 0%Hex

#ffce00NotaciĆ³n decimal

16764416Android / android.graphics.Color

-12800 / 0xffffce00HSL

hsl(48, 100%, 50%)HSLA

hsla(48, 100%, 50%, 1.0)HSV / HSB

matiz: 48 (48.4706), saturaciĆ³n: 100 (100), valor: 100 (100)XYZ

X: 63.3113, Y: 65.4026, Z: 9.2871xyY

x: 0.4588, y: 0.4739, Y: 65.4026CIELab

L: 84.6908, a: 2.6556, b: 85.5668CIELuv

L: 84.6908, u: 42.2223, v: 88.7878CIELCH

L: 84.6908, C: 85.608, H: 88.2224Hunter-Lab

L: 80.8719, a: -1.7854, b: 49.8016CMYK

cian: 0 (0), magenta: 19 (0.1922), amarillo: 100 (1), key: 0 (0)CMY

cian: 0 (0), magenta: 19 (0.1922), amarillo: 100 (1)YIQ

Y: 197.167, I: 95.3703, Q: -53.7325YUV

Y: 197.167, U: -97.0233, V: 50.7371YDbDr

Y: 197.167, Db: -296.648, Dr: -110.019YCbCr

Y: 185.359, Cb: 30.314, Cr: 164.137YPbPr

Y: 201.605, Pb: -108.635, Pr: 33.976Sistema de color de Munsell

5Y 8/12 (aproximado)
what?