रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > BlockSvg > getColour
BlockSvg.getColour() तरीका
ब्लॉक को रंग दें.
हस्ताक्षर:
getColour(): string;
लौटाए जाने वाले प्रॉडक्ट:
स्ट्रिंग
#RRGGBB स्ट्रिंग.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया."],[[["`BlockSvg.getColour()` is a method used to retrieve the color of a block element."],["The method returns the color value as a string in the #RRGGBB format."],["This function does not take any input parameters."]]],["The `BlockSvg.getColour()` method retrieves the color of a block. It returns a string representing the block's color in the format of a hexadecimal color code, specifically #RRGGBB. This method has no input parameters and directly returns the color value as a string.\n"]]