Z tego kodu, otrzymuję kolor RGB jakiegokolwiek TD w moim stole:Get background-color w formacie # 000 i nie RGB
alert($(this).css('background-color'));
wynik jest:
rgb (0 , 255, 0)
Czy jest możliwe, aby jquery uzyskać format # 000 lub użyć funkcji przekształcenia pliku rgb w formacie # 000?
Dzięki z góry za pomoc
http://stackoverflow.com/questions/1740700/get-hex-value-rather-than-rgb-value-using-jquery – Eli
Nie jestem pewien, czy to jest to, czego po ? [Get wartość sześciokątną zamiast wartości RGB użyciu jQuery] [1] [1]: http://stackoverflow.com/questions/1740700/get-hex-value-rather-than- rgb-value-using-jquery – ojhawkins
co to jest jQuery [1] [1]? : O – Jashwant