GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.hackerrank.com — Hex Color Code | HackerRank We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies. CSS colors are defined using a hexadecimal (HEX) notation for the combination of Red, Green, and Blue color values (RGB). Specifications of HEX Color Code ■ It must start with a '#' symbol. Examples
You are given lines of CSS code. Your task is to print all valid Hex Color Codes, in order of their occurrence from top to bottom. CSS Code Pattern Selector { Property: Value; } Input Format The first line contains , the number of code lines. Constraints Output Format Output the color codes with '#' symbols on separate lines. Sample Input Sample Output Explanation #BED and #Cab satisfy the Hex Color Code criteria, but they are used as selectors and not as color codes in the given CSS. Hence, the valid color codes are: #FfFdF8 Note: There are no comments ( // or /* */) in CSS Code. Cookie support is required to access HackerRankSeems like cookies are disabled on this browser, please enable them to open this website |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |